danielfrg / pelican-jupyter

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

Add support for "subcells" metadata item in markup mode to specify which cells to include #90

Closed soxofaan closed 6 years ago

soxofaan commented 6 years ago

This commit adds support for a subcells metadata item, to specify which notebook cells to include in the output.

For example to skip the first two cells:

Subcells: [2, None]
soxofaan commented 6 years ago

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

soxofaan commented 6 years ago

thanks for merging,

In the meantime, I rebased #91 and #92 to resolve the conflicts