From: Marc 'B. R. <ma...@ri...> - 2016-01-01 16:30:37
|
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. |