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

Seamless Local Control: Integrating WeatherFlow with Home Assistant Across VLANs

I've been pleased with my Home Assistant setup for some time now. One of my main focuses has been achieving local control. This ensures...