Installation
pip install dissertate
Basic Usage
In nb_config.py
,
import dissertate
c = get_config()
c.Exporter.preprocessors = ['dissertate.preprocessors.EmptyCellElider',
'dissertate.preprocessors.CellElider']
c.Exporter.template_file = dissertate.markdown_template_path()
then,
jupyter nbconvert --config nb_config.py --to markdown your_nb.ipynb
If you don't want a cell in the output, edit the cell metadata to include,
{"tags": ["private"]}
If you want the output of the cell but not the code,
{"tags": ["output-generator"]}