I think that at the moment you handle Syntax-Highlighting for programming languages to complicated.
Actually there is a nice Python module for all kinds of languages.
Would love to see it in MoinMoin.
Pygments support (including a pygments formatter that calls the moin output formatter) was just added to moin 1.9 code - thanks to RadomirDopieralski!
Some more news on that: Here is an implementation already, but that can not replace the default parser: http://slav0nic.livejournal.com/21981.html
Today 2007.02.14 Pygments 0.7 was released, and if you read the CHANGES you can see:
- Added a MoinMoin parser that uses Pygments. With it, you get Pygments highlighting in Moin Wiki pages.
Get it from: http://cheeseshop.python.org/pypi/Pygments/
Great News! But how can I use it? I didnt found some infos.. -- MarkusMajer
- Just look into ./external ... Any desribtion is in the python file itself.