[IPython-User] Format nbconvert output

MinRK benjaminrk@gmail....
Tue Aug 20 03:55:28 CDT 2013


The way to do things is to write your own jinja template, presumably
starting with `{% extends full_html.tpl %}` to use our HTML output as a
starting point.  Then you will write your own versions of the blocks that
you want to behave differently.


On Mon, Aug 19, 2013 at 9:47 PM, Ari Huntley <arihuntley@gmail.com> wrote:

> I would like to tweak the output of nbconvert (to html) in several ways,
> to share with my PI/coworkers:
>
> - Collapse input cells
> - Collapse sections of the notebook which would include input, output, and
> markdown.
> - If possible, allow the reader to decollapse these things dynamically,
> with a button
> - Add a hyperlinking table of contents (wikipedia-style)
>
> What is the easiest way to add this functionality into my notebook?
>
> In the past I have cut and pasted workarounds that were a bit jenky, but
> given the recent updates to nbconvert and the notebook as a whole, I am
> sure these are not optimal.
>
> --Ari
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130820/0b839909/attachment.html 


More information about the IPython-User mailing list