One of my most-visited posts is the jQuery plugin “beautyOfCode” for the version 1.5 of Alex’ Syntax Highlighter. The main point of doing a wrapper was, that version 1.5 did require invalid html code.
In the new version of Syntax Highlighter this is fixed. But still, people ask for a new version of my code, too.
I [...]
Posts Tagged ‘code highlighting’
beautyOfCode – jQuery plugin for Syntax Highlighter 2.0 by Alex Gorbatchev
Posted in Web Development, tagged beautyOfCode, code highlighting, javascript, jQuery, Syntax Highlighter on May 28, 2009 | 9 Comments »
beautyOfCode: jQuery Plugin for Syntax Highlighting
Posted in Web Development, tagged code highlighting, javascript, jQuery, Syntax Highlighting on October 30, 2008 | 32 Comments »
UPDATE: Support for Syntax Highlighter 2.0 + jQuery Listed + bitbucket Repository
The Syntaxhighlighter by Alex Gorbatchev is the best I have seen so far. As you see in this post, wordpress.com uses it, too.
But the required syntax is not xhtml-compliant (name on pre is forbidden).
<pre name="code" class="javascript">
// my code
</pre>
In order to enable compliant [...]