[Moin-user] cannot get syntax highlighting to work

Neal Becker ndbecker2 at gmail.com
Wed Nov 4 10:04:14 EST 2009

I'm using moin 1.8.5.  I have pygments-1.1.1.

I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py.
I edited that file to set INLINESTYLES = True.  No other changes.

I made a test page:

Describe FrontEndDecimation here.
{{{#!code python
for i in range (10):
  print 'hello'

No highlighting.  No error messages I could find.  (How could I debug this?)

If I change this to:

I get highlighting.  That's nice, but I want highlighting of my attachments, 
which I think means I need to use the code.py plugin.

More information about the Moin-user mailing list