On Wed, Feb 25, 2009 at 4:34 PM, anita kean <[email protected]> wrote:
>
> Hello again
>
> In presenting blocks of code in a sphinx-generated tutorial,
> there are times when a few lines are important - e.g.
> they've just been changed.
>
> Is there a way to designate those lines for highlighting in
> a particular way, for example  a css-style background color change?

For very basic formatting (e.g., bold), you could use the
parse-literal directive:
http://docutils.sourceforge.net/docs/ref/rst/directives.html#parsed-literal-block

If there are more sophisticated ways to do this, such as with CSS, I'd
love to hear about it.

--Janet

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to