##// END OF EJS Templates
Make embed nestable...
Make embed nestable -save and restore InteractiveShell instance to allow nesting shells -save local namespace sans ipy hidden variables and update namespace before exit

File last commit:

r18381:0fabf68d
r18762:d94b7e7d
Show More
style_python.tplx
21 lines | 593 B | text/plain | TextLexer
((= Python input/output style =))
((*- extends 'base.tplx' -*))
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
((( resources.latex.pygments_definitions )))
((* endblock definitions *))
%===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
((( cell.input | highlight_code(strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))