[IPython-dev] nbconvert changes in 2.0
Jacob Vanderplas
jakevdp at cs.washington.edu
Sun Mar 9 14:05:13 EDT 2014
Thanks Min - much appreciated! I'll give that a try.
Jake
Jake Vanderplas
Director of Research - Physical Sciences
eScience Institute, University of Washington
http://www.vanderplas.com
On Sun, Mar 9, 2014 at 11:02 AM, MinRK <benjaminrk at gmail.com> wrote:
> This should do it (or get close, anyway):
> https://github.com/getpelican/pelican-plugins/pull/175
>
> -MinRK
>
>
> On Sun, Mar 9, 2014 at 10:28 AM, Jonathan Frederic <jon.freder at gmail.com>wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> 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/f4476ea6/attachment.html>
More information about the IPython-dev
mailing list