danielfrg / pelican-jupyter

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

Adding support for nbconvert preprocessors #65

Closed croach closed 6 years ago

croach commented 7 years ago

This commit adds support for specifying a list of nbconvert preprocessors to be used when converting the document.

I ran into an issue when trying to use the Python Markdown nbconvert extension. I needed a way of passing in preprocessors to be used during the conversion from a notebook file to HTML. This PR contains support for a new config option, IPYNB_PREPROCESSORS, that expects a list of preprocessors that will be used during the generation of HTML output.