sphinx-togglebutton
sphinx-togglebutton copied to clipboard
Custom title for toggle directive
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
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
this would be very cool!