Javascript code prettifier

Here’s a neat little thing which I heard about on the Stackoverflow podcast. I can already think of plenty of uses for it. A general purpose code “prettifier” which detects, lays out and highlights the syntax of a range of programming languages. Looks simple to include in the JavaScript of any page which might be displaying code.

Javascript code prettifier