|
Project Information
Featured
Downloads
Links
|
jsPrettify converts plain ASCII punctuation characters into “smart” Unicode typographic characters. It’s written in Javascript, so you can use it virtually anywhere online, either to clean up your own outgoing text before it’s sent or to prettify sites you host or visit. jsPrettify performs the following transformations:
Check out a live demo: Read about
jsPrettify can work on strings or on HTML DOM elements. Because it works in your browser, it doesn’t have to parse HTML; it just walks the pre-existing DOM structure. Because it’s written using Google Closure, it’s extremely likely to work in your browser—I’ve personally tested it in Google Chrome, Firefox 3+, and IE6+. If you use jsPrettify, show your support by adding it to your stack on Ohloh! |