##// END OF EJS Templates
Merge pull request #5372 from minrk/no-close-strings...
Merge pull request #5372 from minrk/no-close-strings Don't autoclose strings, because CodeMirror's behavior makes it confusing and awkward to type triple-quoted strings (and these are very common in Python). An issue about this was filed in CodeMirror itself: https://github.com/marijnh/CodeMirror/issues/2385

File last commit:

r15672:8a560994
r15843:9c1c7a7e merge
Show More
style_python.tplx
21 lines | 630 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(language=resources.get('language'), strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))