##// END OF EJS Templates
fix Python mime-type
fix Python mime-type

File last commit:

r12742:c74425a8
r13677:7bff4b35
Show More
style_python.tplx
21 lines | 600 B | text/plain | TextLexer
((= Python input/output style =))
((*- extends 'latex_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 *))