##// END OF EJS Templates
Walk nbconvert templates directory for package data files
Walk nbconvert templates directory for package data files

File last commit:

r13925:7a8be7be
r14052:7d0e2459
Show More
style_python.tplx
21 lines | 594 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 | highlight2latex(strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))