danielfrg / pelican-jupyter

Pelican plugin for blogging with Jupyter/IPython Notebooks
Apache License 2.0
423 stars 105 forks source link

fix for jupyter 4.1.1 #50

Closed yjk21 closed 6 years ago

yjk21 commented 8 years ago

Hi, first, thanks for the plugin.

I am using a rather new version of jupyter and found that the style that nbconvert creates within the html file is not applied for some of the pelican themes, such as pelican-bootstrap3. One reason is that the nbconvert API may have changed slightly. Also, the pygments output is wrapped in a pre-tag, which I add to the nbconvert css. This is not a robust solution as it makes many assumptions and is not configurable, mostly because I am not familiar with all the tools :) Please let me know what you think. Thanks!

danielfrg commented 8 years ago

Thanks for the fix, i'll try it when i get a chance and merge it.