Hiding or removing code blocks or entire cells

I can’t make working the “Hiding or removing code blocks or entire cells” functionnality.
I have set the metadata of a code cell with ::
“tags”: [
But when I ran the cell the input is not hidden.
Same problem with the “remove_input” option. (the cell is not removed).

Thank you for your help

Hugues Malherbe

Hi there - it looks like this is in reference to Jupyter Book, as opposed to “Zero to JupyterHub for Kubernetes”, is that correct? And if so, can you please share the version of Jupyter Book that you’re using as well as the notebook you’re trying to build?

Excuse me for the post in the wrong theme.

Here is informations on my Jupyter running on a windows system.
C:\Windows\system32>jupyter --version
jupyter core : 4.5.0
jupyter-notebook : 5.7.8
qtconsole : not installed
ipython : 7.5.0
ipykernel : 5.1.1
jupyter client : 5.2.4
jupyter lab : 0.35.6
nbconvert : 5.5.0
ipywidgets : not installed
nbformat : 4.4.0
traitlets : 4.3.2

I don’t understand what you are asking me to share ?
I have tried to attach the notebook to this post : but it is forbidden.

Here is the link to the notebook placed on mybinder server : https://hub.gke.mybinder.org/user/hmalherbe-pythonstannicephysics-qtf518jf/notebooks/TestHideRemoveCodeCells.ipynb

Thank you.
Hugues Malherbe

I meant that it sounds like you’re using this tool:


Is that right? And if so, what version of that tool are you using? Have you updated to the latest version? Either way, make sure to update to the latest version with pip install -U jupyter-book

And by “share your notebook” I meant share a link to your GitHub repository. The Binder link you shared won’t work for anybody else - that’s a unique link just for you - you should share the binder link that starts with mybinder.org/v2/gh/...