fergusweb network

codeFormatter

April 9th, 2008 Anthony

I’ve been looking at the SyntaxHighlighter script for a while now, but never quite managed to get it working in Wordpress.  So, I just wrote my own plugin to do it.

Version 1.0 is tested and works with Wordpress2.5.  It requires no additional libraries, and should work without modification.

By default, it is configured with brushes for Javascript, SQL, CSS, PHP, and XML.  Namely, the ones I am most likely to use.  You can modify codeFormatter.php to include additional brushes if you need them.  (The additional brush scripts are included in the download)

Posted in General