Roger Binns wrote: > On Oct 22, 11:55 am, Ian Bicking <[EMAIL PROTECTED]> wrote: >> Traditionally people just use the interactive style: > > Sadly that only works for trivial stuff like my example above. The > actual code I want to do this with has many lines of Python code > followed by a few lines of output repeated several times. If I could > tell the highlighter which sections are code and which are output, > that would work as well.
I use it for even fairly long examples, but certainly it's not the most readable format. Maybe you could make a different Pygments syntax for some other format, though I am not aware of an existing text format for separating out input and output like that. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
