Word Press Syntax Highlighter, Again!

By Akbar

After struggling with “Google Code Prettify” plug-in for over a year, I decided for a change and this time I went for the WP-Syntax plug-in:
http://wordpress.org/extend/plugins/wp-syntax/other_notes/

Like all other WordPress plug-ins, this was not only easy to install, but is based on open source syntax highlighter GeSHi. My first expression after using this is “Wow! it looks cool”.

If you are a programmer and looking for a simple and elegant syntax highlight option, I will strong recommend this.

Wait, I’m not done yet. Here is the quick sample PHP syntax example:

1
2
3
4
5
6
7
<div id="foo">
<?php
  function foo() {
    echo "Hello World!n";
  }
?>
</div>

Tags: ,