wordpress-syntax-highlighting-wp-chili-review

Plugin: WP Chili 1.1
Backend: Chili 2.2
Score: 3/10

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.

WP Chili seems to support c++, c#, css, delphi, html, java, javascript, lotusscript, mysql, php. It lacks support for scripting languages, and easy customizable colors (the colors are set in the javascript code, not in an easily editable css file). At least the default color scheme looks decent.

Overall, WP Chili seems like too much work to use, with only a few features and poor documentation.

Example highlighting with default colors
wp-chili syntax formatting

Wordpress markup
how to use wp-chili