From: Guenter M. <mi...@us...> - 2017-09-16 18:31:45
|
On 2017-09-16, Leonhard Küper wrote: > Hello. > I want to generate html from restructuered text and I want to style it. > What selectors are generated? There is no dedicated documentation. You could look in the sources (modules _html_base.py and html5/__init__.py in docutils/writers/). The simplest way is to just try it out. > Are there some tips what the generated > html could look like and how to style proper? Have a look at the examples in tests/functional/expected. There you can also compare html4css1 and html5 output. The CSS style files in docutils/writers/html5_polyglott/ are also good examples and comprehensive comments. Günter |