views:

261

answers:

6

Can anybody recommend a reliable and decently documented code highlighter for WordPress 2.6.1. I have tried Code Snippet by Roman Roan and Developer Formatter by Gilberto Saraiva. But they don't seem to work as described in the documentation and are mangling the code snippets instead of prettifying them.

+5  A: 

I use WP-Syntax and it's worked very well for me. It's supported every language I've thrown at it so far, and the colors can be customized for a particular theme (though the defaults look just fine too)

Kyle Cronin
A: 

You should also checkout syntaxhighlighter from Google Code.

urini
A: 

I'll second wp-synax I use it on my blog.

Unkwntech
A: 

I use the GeSHi Syntax Highlighter Plugin in my blog and I find it works well. Which highlighter you use tends to depend on which languages you use most frequently and how good the support is for them.

[Edit] I forgot that GeSHi is the highlighter associated with the Wordpress SyntaxHighlighter plugin. :/

cdleary
A: 

WP-Syntax uses GeSHi to do the highlighting, the WordPress Syntax Highlighter uses the Javascript SyntaxHighlighter

Glenn Slaven
A: 

http://wordpress.org/extend/plugins/wp-synhighlight

It utilizes shordcodes and works well in GUI editor also unlike some others (WP-Syntax has some problems with GUI).