jupyter-book
jupyter-book copied to clipboard
Nest code-cells inside of admonitions and block-level syntax in myst notebooks
Can I nest a code-cell under a dropdown cell? i.e.
````{dropdown} title
text content
```{code-cell}
code content
```
text content
````
There is a warning message
WARNING: Found an unexpected `code-cell` directive. Either this file was not converted to a notebook, because Jupytext header content was missing, or the `code-cell` was not converted, because it is nested.
If this is not possible, is there any way that I can hide/toggle a block of text + executable code?