Sometimes I have to put text on a path

Thursday, July 14, 2011

prettify.js. a Javascript module; syntax highlighting of source code snippets in an html page.
For an example, see the README:

chrome extension:

for other browsers:

  • Works on HTML pages
  • Works even if code contains embedded links, line numbers, etc.
  • Simple API : include some JS&CSS and add an onload handler.
  • Lightweights : small download and does not block page from loading while running.
  • Customizable styles via CSS.
    See the themes gallery (gallery of themes for code prettify):
  • Supports all C-like, Bash-like, and XML-like languages. No need to specify the language.
  • Extensible language handlers for other languages. You can specify the language.
  • Widely used with good cross-browser support. 
  • Powers and


  1. visit this link and get your answer

    JAVASCRIPT Viewer - Convert JS/Javascript Strings to a Friendly Readable Format,Beautify,Minify