So I finished up with the Geshi highlighter helper. There was a helper already from Matias Lespiau, but it was slightly out of date for the new version of Geshi. Notable changes include the name of the geshi script, the highlight method name, and some other things. There is no longer a need to alter any geshi code too.


So fortunately I was able to fix that helper after half writing a new one. I also added on to it a little bit and I will be adding some options that can be set through the helper to change styles and such.


I'll follow up with the changes I made soon, but for now, here's an example. Note: I also have it automatically display which language in the header.


// example comment
$foo = 'blah';

function theFoo() {
     echo $foo;
}

There are some issues though, it changes around some spaces or non-breaking spaces to special characters as you'll see at the end of some paragraphs on other posts. Looking into that...More to come...