jsPrettify fixes quotes and dashes in text input fields online. Try it out—I’ve tested it on Reddit comments, tweets, and GTalk IMs.
code.google.comhttp://code.google.com/p/jsprettify/wiki/MakingInputsPrettyAbout this post
- Posted
- Archived
- Score
- 8 · 100% up
- Kind
- Link
- ID
- beurc
9 comments
I’m trying to spread this around as much as possible. I wrote it to scratch my own itch—I was sick of the stuff I wrote online looking like it was typeset by an eigth-grader in Notepad—but the more it spreads around, the better. If it’s easy to use correct typography in online formats, it’ll start to look odd when people don’t.
Deleted before we saved it.
Thanks for the input! I like the idea, but I feel like it’s starting to get beyond the scope of the project. There’s more to typesetting lists than just using the correct characters—that’s more a fit for something like Markdown (which, incidentally, Reddit comments use). In particular, if you enter a list in a tweet, most display formats will strip the newlines; you’ll see the list characters, but they’ll all be on one line.
Giving it a go—even though I don’t know—how “punctuation” works…
Ooooooooo, sexy!
Wait. What do I do?
Drag the “Prettify Inputs” link to your bookmarks toolbar. Type your comment here. Then, before you submit it, click on the bookmarklet. Voila—prettified.
It’s been an automatism to me ever since I found out the right button combinations.
Very cool— Should be named “Unify”.