##// END OF EJS Templates
Merge pull request #4131 from rossant/cython-magic-name-argument...
Merge pull request #4131 from rossant/cython-magic-name-argument Add module's name argument in %%cython magic This new option lets the user specify an explicit module name for its Cython cell rather than letting IPython generating a random name automatically. With this option, one can reuse a function defined in one %%cython cell magic in another %%cython cell magic, by doing an import of the module corresponding to the first cell magic.

File last commit:

r12742:c74425a8
r12799:929d291e merge
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 *))