</body> tag in HTML file:
<script type="text/javascript" src="jush.js"></script>
<script type="text/javascript">
jush.style('jush.css');
jush.highlight_tag('pre');
</script>
All <pre class="jush"> tags will be highlighted. Language is determined by the class name beginning with "jush-" (e.g. <pre class="jush-js">). Default language is htm.
Alternativelly call jush.highlight(language, text) to syntax highlight single text.
It is also possible to use JUSH for opening the appropriate documentation in a browser. On Windows, it is possible to run:
Syntax: WScript jush-help.wsf filename line column [tabsize] [word] Example: WScript jush-help.wsf readme.html 2 2
The example should open a browser with documentation of the <html> tag which is at position 2:2 of this file.