This posting is outdated. DokuWiki comes with its own GeSHi e-mail highlighter since some years. Below example shows what it produces. Unfortunately, it does not support clickable URLs. Besides, my own code is slightly broken. (2013-08-03)
I wrote a first draft version of a highlighter for e-mail messages (RFC 822 style) which can be used with GeSHi. If you want to try it download email.phps, rename it to email.php and copy it to your ''geshi' folder. Of course, you might want to check that the permissions are correct.
In DokuWiki this can be used for something like
Return-Path: <email@example.com> Received: from in.existin.g.at ([12.345.67.89]) by mail.fam.tuwien.ac.at (8.13.8/8.13.8/Debian-3) with ESMTP id m3S5B1Jj020413 for <firstname.lastname@example.org>; Mon, 28 Apr 2008 07:11:01 +0200 From: Anon Ymous <email@example.com> To: Andreas Schamanek <firstname.lastname@example.org> Subject: Re: color for messages Message-Id: <20080428051101.9D18913989@in.existin.g.at> Date: Mon, 28 Apr 2008 07:11:01 +0200 (CEST) >> Quoting messages is fine. But what about some color? >> The documentation is at http://qbnz.com/highlighter/ > Right. I'll give it a try. Reminder: Don't forget to put the email highlighter for GeSHi on the blog at http://www.fam.tuwien.ac.at/~schamane/_/blog: It's a pity that numbers in URLs such as http://wox.at/cU#2 cannot be made clickable, though.
As one can see it can't do everything. Either due to restrictions on GeSHi's side or my ignorance I found no way to i.a.
Anyway, it does help me and maybe others can help or find some use for it.
Maybe, I should note that GeSHi offers more flexibility by its use of regular expressions but nevertheless it interferes with the highlighting of numbers which is enabled in DokuWiki, and there seems to be no way of disabling it from within a language file.