Hide Markdown in docs

Hello, I have recently picked up on nbdev for developing libraries while experimenting at the same time. I like how I can choose what parts are exported to the library or hidden in the docs using the directives. Unfortunately, I haven’t found anything similar for markdown cells.




I would like a way to keep the Experiments section in the notebook but hide it from the docs.

I wonder if this would do what you are wanting: Is it possible to hide a markdown cells and code output from a Jupiter Notebook? · quarto-dev/quarto-cli · Discussion #3233 (github.com)

Specifically this chunk:

::: {.content-hidden}
# This will not be displayed, completely ignored
and that also

That did the job. Thank you!

It still appears in the notebook as I wanted and is hidden from the docs.