Description

This parser uses the Pygments library to highlight its content and then uses MoinMoin's native output formatter to handle output.

(!) This is different from ParserMarket/Pygments, which can only handle HTML output.

Download

http://hg.moinmo.in/moin/1.9/raw-file/5a43d52e2110/MoinMoin/parser/highlight.py

Example

{{{#!highlight python start=1 step=1 numbers=off
 import antigravity
}}} 

MoinMoin: ParserMarket/highlight (last edited 2008-12-30 16:46:17 by 61-62-40-94-adsl-yun)