SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript. To get an idea of what SyntaxHighlighter is capable of, have a look at the demo page.
SyntaxHighlighter is currently used by Apache, Aptana, Mozilla, Yahoo, Wordpress, Bug Labs, Freshbooks and others.
Demo
1 2 3 4 5 6 7 8 9 | // SyntaxHighlighter makes your code// snippets beautiful without tiring// your servers.var setArray = function(elems) { this.length = 0; push.apply(this, elems); return this; |
It uses small javascript "code pieces" to highlight pre-formatted code.
No comments:
Post a Comment