##// END OF EJS Templates
add pre/post-save hooks...
add pre/post-save hooks - `ContentsManager.pre_save_hook` runs on the path and model with content - `FileContentsManager.post_save_hook` runs on the filesystem path and model without content - use pre_save_hook for things like stripping output - use post_save_hook for things like nbconvert --to python

File last commit:

r18580:ba8461eb
r19299:cf989ee0
Show More
style_bw_python.tplx
13 lines | 365 B | text/plain | TextLexer
((= Black&white Python input/output style =))
((*- extends 'base.tplx' -*))
%===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{verbatim}
((( cell.source | add_prompts )))
\end{verbatim}
((* endblock input *))