Saturday, December 8, 2007

SHJS - Syntax Highlighting in JavaScript

SHJS - Syntax Highlighting in JavaScript


SHJS is a JavaScript program which highlights source code passages in HTML documents. Documents using SHJS are highlighted on the client side by the web browser.
SHJS uses language definitions from GNU Source-highlight.

Download:
To use SHJS, you need at least 3 files:
The main script or the minified version
A language definition file
A stylesheet (alternatives)
You can simply download the files you need from the list above, or you can download a binary distribution containing all languages and style sheets. Binary distributions have names of the form shjs-VERSION.zip.