Word Press Syntax Highlighter, Again!
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> |
<div id="foo"> <?php function foo() { echo "Hello World!n"; } ?> </div>
Tags: Syntax Highlighter, WordPress
This entry was posted
on Thursday, February 23rd, 2012 at 8:49 am and is filed under WordPress.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Feedback & Comments
No Responses