Peter's Blog

Redefining the Impossible

Syntax Highlighting


I noticed I broke the syntax highlighting in my wilki module when I moved the site to Linode. I forgot to change a hard-coded link to the geshi syntax highlighting library. Fixed now and I took the opportunity to upgrade to the latest version of Geshi and, I'm pleased to say, it Just Worked, didn't need any code changes from me.

Geshi is a very nice library, for me it has only two problems:

  1. it is php, not python
  2. it does not appear to have a mode for highlighting generic config files as does vim.

Silly things like fixing syntax highlighting can cause duplicate postings to appear in RSS aggregators as they nievely think the articles have been edited. Sorry for this, there is not much I can do about it.


Filed under: drupal wilki

Have Your Say

I welcome constructive comments or questions but I reserve the right to delete any comments that displease me.

Who are you?

(Optional) If you enter an email address here I might email you back. Your email address will not be sold to spammers or shown anywhere

What do you have to say?