##// END OF EJS Templates
don't pick up tokens right of cursor...
don't pick up tokens right of cursor inspection of `foo(|a` was picking up 'a' instead of 'foo' due to an off by one error

File last commit:

r18381:0fabf68d
r18453:c04db182
Show More
style_python.tplx
21 lines | 593 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 | highlight_code(strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))