I actually intended to post about something else first. It was going to be about coding something in PHP to gzip mootools files. Of course, you can’t share code snippets without having a a Syntax Highlighter for wordpress. There are a few of these.
- WP-Syntax – A geshi oriented syntax highlighter. I tried this, but you see, the problem is that WordPress often replaces normal quotes or single quotes with stupid wordpress quotes. They should really get rid of those.
- Syntax Highlighter Plus – I found this while searching around. It fixed some bugs and has more language support.
So after searching for a while; both on Google and WordPress’ search, I found something I liked. I bring you my pick: Syntax Highlighter Plus.
echo("Go Syntax Highlighter Plus"); $a = 10; $b = 2; $str = 'SELECT COUNT(*) FROM yarrs WHERE yarr_id = %1$d AND yarr_base = %2$d'; $query = sprintf($str, $a, $b);