[Moin-user] Using Restructured text AND Pygments

R.Bauer rb.proj at gmail.com
Tue Jul 6 11:37:33 EDT 2010


Nic Pottier schrieb:
> Howdy,
> 
> I'm trying to get MoinMoin configured such that I can use ReST for
> markup and also get Pygments for syntax highlighting in my code
> blocks.  IE, I basically want my wiki to act like Sphinx does by
> default.
> 
> Making ReST the default markup is no problem, that works, but I can't
> get the syntax highlighting to work.  Is that supported / known as a
> limitation?
> 
> I bet I'm not the only one who'd like a Sphinx play-alike wiki.
> 


pygments syntax hightlighting is default in moin-1.9

{{{#!highlight python
class Example(object):
}}}

see
http://moinmo.in/HelpOnParsers#highlight_parser


Which moin version do you run?

cheers
Reimar

> Cheers,
> 
> -Nic
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first





More information about the Moin-user mailing list