Using minted with mixed Python code and output
The short and the long of this is: write a special lexer. But you’re in luck, it already exists, just use pycon
as the language.
\newminted{pycon}{bgcolor=bg, linenos=true, tabsize=4}
The short and the long of this is: write a special lexer. But you’re in luck, it already exists, just use pycon
as the language.
\newminted{pycon}{bgcolor=bg, linenos=true, tabsize=4}