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

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...