Wordpress PHP Syntax Highlighter


I don’t have a new theme yet, but I have a PHP Syntax Highlighter.

It could use some more features, but i’m sure i’ll get to those if I ever start using it.

And Now some PHP Code just for fun.

[php]
// Hello World in PHP5 DOM
$src = ‘
World
‘;
$xml = DomDocument::loadXml($src);

echo $xml->firstChild->nodeName.” “.$xml->firstChild->textContent;
[/php]
I Can’t seem to get a whack-n in the code though, quite annoying but that seems to be a wordpress problem.

One Response to “Wordpress PHP Syntax Highlighter”

  1. 1

    What kind of features do you want? There’s another syntax hiliter plugin by name of iG:Syntax Hiliter which can hilite HTML, CSS, JAVA & SQL, besides PHP. The new version will have ASP hiliting & sanitised code, meaning that WP won’t be texturising the code & ruining it. :)


Leave a Reply

This circle expands additional navigation
You should really buy my AJAX book.
You'll learn not only the technology you need for implementation but also an understanding that will help you get the most from AJAX.
You'll also have my eternal thanks :-)