dissertate

A package and CLI for writing dissertations.


Keywords
phd, ipython, ipython-notebook, jupyter, jupyter-notebook
License
MIT
Install
pip install dissertate==0.0.9

Documentation

https://travis-ci.org/jbn/dissertate.svg?branch=master https://ci.appveyor.com/api/projects/status/69kj3prrrieyp8q2/branch/master?svg=true https://coveralls.io/repos/github/jbn/dissertate/badge.svg?branch=master

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"]}