Skip to main content
  1. Posts/

wordpress update time & syntax coloring

·2 mins

So I’ve just spent a couple hours updating wordpress to 2.8.4 (it’s been a long time since I’ve done an upgrade) and I’m trying to pick from the myriad syntax coloring plugins.  I tried using SyntaxHighlighter Plus which has nicer configuration options. But it doesn’t look as good as wp-syntax

Note that to get the SyntaxHighlighter Plus configuration options to work on my php4 box (I was seeing this error: Call to undefined function: scandir()) I had to replace this call:

$themes=scandir(ABSPATH.PLUGINDIR./syntaxhighlighter-plus/syntaxhighlighter/styles/');

with this:

$$$}ddwtihhhrie=lm=eeosAp([Bef]SnaPdl=AisTre$H(f$!i.d=li=ePrnL)(aU;$mGfeIi;NlDeInRam.e=/sryenatdadxihri(g$hdlhi)g)h)te{r-plus/syntaxhighlighter/styles/';

I actually like the way SyntaxHighlighter Plus works better than wp-syntax in that it uses a custom tag [sourcecode] rather than using

 which means that it handles embedded angle braces better. But I just think that it looks much worse than wp-syntax!