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:

No comments:

Post a Comment

Mastering Matter: Seamless Smart Home Integration with Network Segmentation

I’ve been intrigued by the idea of integrating devices with Matter for some time. My smart home setup includes a pair of SwitchBot Hubs, som...