@adam-p has a great CheatSheet here
keywords: collapse
, collapsible
, markdown
, closed header
Example:
<details>
<summary>This is the header!</summary>
I can put extra stuff here!
</details>
In action:
This is the header!
I can put extra stuff here!
Example:
<details>
<summary>Add some <code>inline code stuff</code> here</summary>
Anything else ?
<p>Even more HTML</p>
</details>
In action:
Add some inline code stuff
here
Anything else ?
Even more HTML
[A reference link][reference]
[reference]: https://actual-link.example.com