How to export a Jupyter notebook as html in batch mode

When evaluating tests automatically in a Jupyter notebook , it is useful to export the test results as HTML and display them remotely

ipython nbconvert --to html your-notebook.ipynb

This generates your-notebook.html as a single file that can be viewed in a browser.

See also