danielfrg / pelican-jupyter

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

Add new "metacell" option, where metadata is extracted from the first notebook cell #92

Closed soxofaan closed 6 years ago

soxofaan commented 6 years ago

(sorry, accidentally deleted original PR #89, this is new one, with rebased branch)

Concept based on https://github.com/peijunz/ipynb2pelican, where the metadata is extracted from the first cell of the notebook. This makes things easier because the metadata can trivially be managed from within the notebook (no need for a separate .ipynb-meta file or manually editing the .ipynb json)

soxofaan commented 6 years ago

note that this PR conflicts with PRs #90 and #91 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)