Basic Usage Link to heading
You write this markup:
<details>
<summary>Click to toggle!</summary>
<b>It works!</b>
</details>
It looks like this…
Click to toggle!
It works!Markdown Link to heading
Like on this website…
<details>
<summary>Click to toggle!</summary>
> Run this as `root`!
```sh
rm -rf /*
```
</details>
Click to toggle!
Run this as
root
!
rm -rf /*
Attributes Link to heading
There’s just one:
<details open>
...
</details>