Powerful, XHTML-compliant, server-side code highlighting for pretty much all languages
Powerful, flexible, XHTML-compliant, server-side code highlighting, credits for everything but 'making it a plugin' go to Jay Pipes and GeSHi.
<div>, <ul>, <span> with class-attributes and a css-file are used for styling <pre>-tags with the lang=-attribute, thus does not interfere with any regular preformatted contents you might have<pre>-tags (if you keep the sources clean, that is)While the plugin is basically XHTML 1.0 Strict compliant there's just no way of getting the offset-based line-numbering to display without inadequate (ab)use of javascript and css hacks, so be warned that IF you use the line-number offset, your documents will NOT validate because of the forbidden start=-attribute for the <ol>!
Requires: 2.3 or higher
Compatible up to: 2.5
Last Updated: 2008-4-10
Downloads: 8,523
Got something to say? Need help?