[Moin-user] code block within rst

Neal Becker ndbecker2 at gmail.com
Fri Feb 29 08:50:24 EST 2008


I'm trying out pygments.  pygments comes with external/moin-parser.py.

I installed this into my wiki data/plugin/parser as code.py.

I want to include python code within rst.  The only way I found to do this
is:

{{{!#rst

blah blah
}}}

{{{#!code python
print "hello"
}}}

{{{#!rst

}}}

That is, the formatting regions don't nest.  Is this the only way?





More information about the Moin-user mailing list