Thursday, April 28, 2005

GeSHi plugin for pLog


I just found the plogeshi plugin for pLog. It implements the Generic Syntax Highlighter for pLog posts.  It will do syntax highlighting for many different languages like C++, PHP, or Perl.


It will convert:



$str = 'one|two|three|four';

// positive limit

print_r(explode('|', $str, 2));

// negative limit

print_r(explode('|', $str, -1));



to:



$str = 'one|two|three|four';

// positive limit

print_r(explode('|', $str, 2));

// negative limit

print_r(explode('|', $str, -1));





Update:  This is cool.  I just noticed that plogeshi make links from the php functions to the pages on the php.net web site.


Technorati Tags: