##// END OF EJS Templates
handle unicode/str in pretty, str formatter...
handle unicode/str in pretty, str formatter by casting str to unicode on Python 2

File last commit:

r18580:ba8461eb
r20486:fe14d514
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.source | highlight_code(strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))