SyntaxHighlighter mod for xhtml, css and blogger support.
New version of the mod is available under the name ‘gembox’. It supports xhtml, doesn’t require manually including brush files, and can be run within the header. You can get it from :
More description about the usage will be available soon.
The post below is kept for historical purpose
Anybody remember the revolution of the 16 color computer displays?
Before this I made a little modification on the code for some features which are asked by current users of this nice tool.
For people already know about SyntaxHighlighter :
With the modification HighlightAll function gets the same parameters. It now checks for the ‘class’ attributes of the tags to highlight. This way it supports xhtml and blogger.com, keeps the name attributes available, and allows space seperated multiple styles in the class attribute, giving us the chance to attach custom styles to containers.
With the new syntax, the tags should be formed as below :
Like before, options can be added to the class tag like: ‘hl:sql:collapse’, where ‘hl’ is the name which is passed to the ‘HighlightAll’ command, and ‘sql’ is the language alias.
The xhtml mod can be found at :
You can download the package from it’s homepage and just replace this file.
Have a colorful day.