##// 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
Jonathan Frederic
Added python style
r12713 ((= Python input/output style =))
Thomas Kluyver
Remove magic for loading templates from module names
r13925 ((*- extends 'base.tplx' -*))
Jonathan Frederic
Added python style
r12713
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
Jonathan Frederic
s/pygment/pygments
r12742 ((( resources.latex.pygments_definitions )))
Jonathan Frederic
Added python style
r12713 ((* endblock definitions *))
Jonathan Frederic
Cleanup code spacing
r12714
Jonathan Frederic
Added python style
r12713 %===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
Thomas Kluyver
Use kernelspec metadata for higlighting in nbconvert...
r18381 ((( cell.input | highlight_code(strip_verbatim=True) | add_prompts )))
Jonathan Frederic
Added python style
r12713 \end{Verbatim}
((* endblock input *))