I'm new to markdown and I'm writing a README.md
file in Github. I know how to create a table of contents with markdown and also a separate collapsible section.
Is there a way to create a collapsible table of contents with markdown? (A table of contents, which can be collapsed by the user's click.)
## Table of Contents
- [Regex](#regex)
<details>
<summary>Table of Contents</summary>
- I want to add a link to the *Regex* section in my markdown.
</details>
### Regex
The details will be here...