Short description

It would be nice if reStructuredText generated HTML had a <div class="docutils"> around so CSS entries just for rst can be used. For example for rst list have a lot more space around them then Moin lists, adding a CSS entry for ol would effect very page, I want to be able to add:

div.docutils ol {
  ...
}

I hacked the feature in by adding:

html.append(formatter.rawHTML('<div class="docutils">'))
...
html.append(formatter.rawHTML('</div>'))

around the generated HTML around like 196 in format in rst.py.

Could not you have the same effect using the class role (or attribute? I don't know the rest terms currently)?


CategoryFeatureRequest

MoinMoin: FeatureRequests/RestructuredtextStyleClass (last edited 2007-10-29 19:18:29 by localhost)