-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context
Using an admonition and :class: dropdown, you can nicely choose the title.
This lets users know what they can expect when they expand the container.
You cannot currently do this with toggle however.
Admonitions are quite heavy visually, so it's nice to alternate with toggles, if there's a lot of them on a page.
Proposal
Syntax example (myst form), taken from the second example here in the jupyterbook docs, which seems to suggest this feature already exists.
```{toggle} Click the button to reveal!
Some hidden toggle content!
```Tasks and updates
No response
mli, zerothi, dbitouze and dalito
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request