From: Jeff H. - DM&T <je...@du...> - 2016-01-01 16:37:28
|
Thank you, thank you. On Fri, Jan 1, 2016 at 10:15 AM, Marc 'BlackJack' Rintsch <ma...@ri...> wrote: > On 01/01/16 15:57, Jeff Hinrichs - DM&T wrote: > > rST: > > > > .. code:: python > > > > > > >>> print('Hello World!') > > > > Hello World! > > > > >>> > > The problem here is that you are trying to highlight code as Python > source code which is a console session and not just Python source code. > > Pygments has a separate lexer for console sessions called `pycon`. Try > that one instead of `python`. > > Ciao, > Marc 'BlackJack' Rintsch > -- > „A life is like a garden. Perfect moments can be had, but not preserved, > except in memory. LLAP” — Leonard Nimoy's last tweet. > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Docutils-users mailing list > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. > > -- Best, Jeff Hinrichs 402.218.1473 |