Syntax Highlighting in WordPress

Some of my most recent posts involving code have displayed the wonderful blocks of login in all its syntax highlighted glory. A week ago I stumbled on the sweet syntax highlighting plugin – iG:Syntax Highligher (here’s the link to the actual plugin).

The highlighter uses GeSHi for the highlighting engine then wraps a bunch of sweet javascript functions around it to give it a bunch of features (i.e. viewing as syntax highlighted code or plain text toggle). Here’s the supported language list:

[as] & [/as]
[asp] & [/asp]
1
1
1
1
1
1
1
1
[mysql] & [/mysql]
1
1
1
1
[smarty] & [/smarty]
1
1
1
1

Installation is super easy and simply requires you to edit the quicktags.js file in wp-admin. If you’re looking for a syntax highlighter for your blog, I’d suggest you give this one a try. w00t.