[Moin-user] How to apply css in restructured text in moinmoin?

Ralph Heinkel rh at ralph-heinkel.com
Fri Nov 11 08:23:29 EST 2011


Hi,

I'm trying to give my tables in restructured text some layout and 
color styles. In moinmoin markup that can be done quite easily, but 
how can I do this in RST?

I know how to apply a HTML class to the table, but since the
.. raw:: html

is not enabled I can see to possibility how to insert some css styles 
into the document.
Is there a way to enable the 'raw' directive? I tried to set 
'raw_enabled' to 1 in MoinMoin/parser/text_rst.py but that didn't help 
(using V 1.9).

Alternatively it would be perfect if I could collect all my CSS in a 
page somewhere in the wiki so that I can reuse it for multiple wiki 
pages. Can anybody provide some advice how to do this best?

Any help would be appreciated.

Thanks,

Ralph





More information about the Moin-user mailing list