[IPython-dev] Merging nbconvert **now**

Matthias BUSSONNIER bussonniermatthias at gmail.com
Thu Jul 4 03:33:10 EDT 2013


Hi, 

> Hi, just a data point. I hacked and munged nbconvert to a single module 
> here:
> 
> https://github.com/averagehuman/ipynb2html
> 
> because
> 
> 1) It didn't support the creation of HTML fragments for including in 
> other output (eg. static blog engine/django templatetag)
> 2) It wasn't an installable package.
> 
> Here is the ReST directive I wrote for including an IPython notebook in 
> a Pelican blog post:
> 
> https://gist.github.com/averagehuman/5925401
> 
> Thanks to whoever is working on nbconvert, I hope my use case can be 
> supported.


nbconvert should now be installed with IPython dev automatically, also as a Library.
Jakevdp is working on pelican extension : 

https://github.com/getpelican/pelican-plugins/pull/21

and you can see how to use it as a library here :

http://nbviewer.ipython.org/urls/raw.github.com/Carreau/posts/master/06-NBconvert-Doc-Draft.ipynb

nbconvert should be highly customizable, including only exporting part of a notebook, or including other stuff in between cells.

-- 
Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130704/af5a13b3/attachment.html>


More information about the IPython-dev mailing list