Downloads
Release notes
Add syntaxhighlighter filter syntax. Instead of raw HTML which cannot work with the Filtered HTML format, use this:
{syntaxhighlighter OPTIONS}
program code
...
{/syntaxhighlighter}
With this, syntax highlighting can now happen with Filtered HTML format if the Syntaxhighlighter filter is enabled there. This means syntax highlighting can happen with comment as well as node body using Filtered HTML format.
Note 1: must allow the <pre> tag in the HTML filter to work. There is no need to escape the '<' and '>' characters in program code as required by the original Syntaxhighlighter Javascript Library. This is done automatically by the filter.
Note 2: if you use Full HTML format, you can continue to use the old raw HTML markup. So existing contents will continue to work fine with this update without change.