On Fri, Apr 9, 2010 at 12:17 AM, TP <[email protected]> wrote: > On Thu, Apr 8, 2010 at 11:34 PM, malthe <[email protected]> wrote: >> In my document I have two types of text blocks corresponding to user's >> text input and output. How do I tell Sphinx to assign a particular >> HTML-class to each of them (e.g. "input", "output") such that I may >> assign different colors in a CSS stylesheet? >> >> Any hints appreciated! >> >> \malthe >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sphinx-dev" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/sphinx-dev?hl=en. >> >> > > Take a look at the docutils class directive: > http://docutils.sourceforge.net/docs/ref/rst/directives.html#class. >
Ooops. I should also have mentioned this: http://sphinx.pocoo.org/markup/desc.html#dir-class "New in version 0.4: The standard reST directive class is now provided by Sphinx under the name cssclass." -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
