[Moin-user] cannot get syntax highlighting to work

Neal Becker ndbecker2 at gmail.com
Wed Nov 4 11:31:11 EST 2009


I am using mod_wsgi.  I restarted apache.  Don't know about 'touch 
deployment script'.  Do I need to do something?

R.Bauer wrote:

> Neal Becker schrieb:
>> 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.
> 
> Do you have restarted the server process. Or if you run mod_wsgi do you
> have touched your deployment script?
> 
> This looks like the new module is not recognized.
> 
> cheers
> Reimar
> 
>> 
>> 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:
>> {{{#!python
>> ...
>> 
>> 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.
>> 
>> 
>> 
------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day trial. Simplify your report design, integration and deployment -
>> and focus on what you do best, core application coding. Discover what's
>> new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> 
> 
> 
------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment -
> and focus on what you do best, core application coding. Discover what's
> new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july






More information about the Moin-user mailing list