[Haskell-cafe] mediawiki syntax highlighting plugins

Johannes Ahlmann softpro at gmx.net
Tue Feb 28 22:06:01 EST 2006


hi,

i've noted that the new haskellwiki has dropped syntax highlighting
support for haskell code fragments. while i think that full highlighting
might be overkill, at least different color markup of code and comments
would certainly be nice.

investigating the options for syntax highlighting in mediawiki i found
the following two extensions using GNU enscript:

http://www.wickle.com/wiki/index.php/Syntax_Highlight_extension
http://www.milab.is.tsukuba.ac.jp/~bushuhui/index.php?title=Enhanced_syntax_highlight_extension_for_MediaWiki

where the second is an alteration of the first, with haskell support
already added.

an alternative would be geshi (http://qbnz.com/highlighter/) for which a
mediawiki plugin also exists
(http://meta.wikimedia.org/wiki/GeSHiHighlight), but it says on the
geshi site "GeSHi supports PHP5 and Windows". and i'm not clear whether
they mean it _also_ supports those options or exclusively.

it would be cool if one of the wiki maintainers could look into this
matter and possibly install/setup one of the above extensions.

thank you,

Johannes Ahlmann



More information about the Haskell-Cafe mailing list