On Thu, Apr 8, 2010 at 11:34 PM, malthe <mbo...@gmail.com> 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 sphinx-...@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > 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. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.