[e-lang] Peculiar wiki code conversion bug

James Graves ansible at xnet.com
Thu Dec 7 13:42:51 CST 2006


Mark S. Miller wrote:

> Since we're running our own wiki, if I did write an E syntax highlighter in E 
> -- converting E source text to syntax highlighted html -- would it be possible 
> to run that as part of our wiki's rendering of wiki <code> into html <pre> blocks?

Apparently, yes we can.  There is GeSHi - Generic Syntax Highlighter:

http://qbnz.com/highlighter/

It is written in PHP, and there's a few different versions of the 
integration with MediaWiki.  I think I'll end up using this one:

http://meta.wikimedia.org/wiki/GeSHiHighlight

So I'll try to get that all going this weekend, with some of the already 
supported languages.  I'll send out an e-mail when that's ready to go.

So the only missing piece is a syntax file for E itself.

James


More information about the e-lang mailing list