[IPython-dev] nbconvert changes in 2.0

Jonathan Frederic jon.freder at gmail.com
Sun Mar 9 13:28:47 EDT 2014


Hi Jake,

I took a quick look at the code you linked-

s/_pygment_highlight/_pygments_highlight
s/IPython.nbconvert.transformers/IPython.nbconvert.preprocessors
s/Transformer/Preprocessor


There may be a couple more, but that should be a good starting point.

-Jon


On Sun, Mar 9, 2014 at 9:15 AM, Jacob Vanderplas
<jakevdp at cs.washington.edu>wrote:

> Hi all,
> Now that a 2.0 candidate has been released, I'm trying to figure out how
> to update my pelican notebook plugin to work with the refactor of nbconvert.
>
> I wonder if some of the devs might give me some insight into what's
> changed (the relevant code is here:
> https://github.com/getpelican/pelican-plugins/blob/master/liquid_tags/notebook.py
> )
>
> It basically uses the HTMLExporter, a custom Transformer, and a custom
> pygments highlighter, many of which no longer exist in IPython 2.0.
>
> Any help would be appreciated - thanks!
>    Jake
>
>  Jake Vanderplas
>  Director of Research - Physical Sciences
>  eScience Institute, University of Washington
>  http://www.vanderplas.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140309/51af648f/attachment.html>


More information about the IPython-dev mailing list