WP Chili was the #1 pick by Chris Cagle’s WordPress Syntax Highlighting Plugins Review, so I thought I’d give it a try. I’m looking for a highlighter for c/c++ code and probably bash/perl/python scripts I’ll be posting here. My test platform is Utuntu Hardy with Firefox 3.0.1 and Opera 9.50 beta 2.
Installation was simple, just unzip into the plugins directory and activate.
Setup was a bit more complicated. I used Chris’s kindly provided css for formatting, but the formatting failed to apply. I eventually found the correct C++ tag (<code class=”cplusplus”>) in the source code of this example page. Line numbering is possible by wrapping the <code> tag in a <pre class=”ln-”> tag. I didn’t like having to preformat the code, although Elliot Swan’s postable site did make this fairly easy, it’s just another step I’d rather not do.
Overall, WP Chili seems like too much work to use, with only a few features and poor documentation.