Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out if there's a way to tag all cells to be hidden #124

Open
TeaganKing opened this issue Aug 20, 2024 · 2 comments
Open

Figure out if there's a way to tag all cells to be hidden #124

TeaganKing opened this issue Aug 20, 2024 · 2 comments

Comments

@TeaganKing
Copy link
Collaborator

Currently, as far as I'm aware, users need to tag each cell as hidden in order to prevent code from showing up in the Jupyter book. Although this method technically works, it'd be nice to have (or find and document) a 'select all' method to tag most of the cells in a notebook to be hidden.

@TeaganKing
Copy link
Collaborator Author

See #60 for explanation for hiding individual cells

@kafitzgerald
Copy link
Collaborator

It looks like this (link below) might be an option for adding tags programmatically, but haven't used nbformat before and don't have a great feel for how you might want to integrate this.

https://jupyterbook.org/en/stable/content/metadata.html#add-tags-using-python-code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants