danielfrg / pelican-jupyter

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

Add setting IPYNB_EXPORT_TEMPLATE to specify a custom nbconvert export template #91

Closed soxofaan closed 6 years ago

soxofaan commented 6 years ago

This PR adds a setting IPYNB_EXPORT_TEMPLATE to define a custom template to use in the HTMLExporter

this allows the user to tweak various things

soxofaan commented 6 years ago

note that this PR conflicts with PRs #90 and #92 because it also changes the get_html_from_filepath call in markup.py

soxofaan commented 6 years ago

(FYI rebased this PR now that #90 is merged)

danielfrg commented 6 years ago

Thank you so much for the PRs! sorry it took so long i was on a long vacation.

This one specially is a really nice one to have for customisation.

soxofaan commented 6 years ago

no worries, thanks for merging