innovationOUtside / ou-jupyter-book-tools

Tools for working with Jupyter Books
MIT License
2 stars 1 forks source link

Hide cells with import statements #1

Open psychemedia opened 3 years ago

psychemedia commented 3 years ago

A code fragment in the Jupyter Book docs gives an example py script for auotmatically tagging cells containing import statements so as to hide them: https://jupyterbook.org/content/metadata.html#add-tags-using-python-code