28th August 2012

google-code-prettify Demo

This page is just a demo case for the javascript library code-prettify.

I have no relationship whatsoever with the library or the author; I merely needed to apply the formatting to several code snapshots on this website and it was easier for me to use this page: paste the code and check (and use) the resulting html.

The version currently used on this page is 1-Jun-2011

The code to prettify can be pasted on the text area below; then, press the prettify me button; if the uglify me button is used, the produced html simply escapes the html entities, so the code can be pasted directly on html pages.


Produced html (selected, just to copy to clipboard):

With the sunburst theme, the prettified code looks like: