##// END OF EJS Templates
add js_extensions_path...
add js_extensions_path serves files in `IPYTHONDIR/js_extensions` at `/js_extensions`. This is a location for users / devs to drop-in frontend customization as js modules, css, etc. The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc. It's a configurable search path, just like static. This way we can define a system-wide location at a later point (/usr/share/ipython/js_extensions?) and still have user installs.

File last commit:

r12742:c74425a8
r12800:e6dfc2ae
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 *))