Skip to content

Instantly share code, notes, and snippets.

@quynhethereal
Last active May 27, 2022 17:00
Show Gist options
  • Save quynhethereal/d56cd778cc4d031ab40dfc97a8d700d9 to your computer and use it in GitHub Desktop.
Save quynhethereal/d56cd778cc4d031ab40dfc97a8d700d9 to your computer and use it in GitHub Desktop.
Render a collapsible on your Markdown file
<!-- add `open` attribute if you want your collapsible to be opened by default, omit if not -->
<details open><summary>My collapsible</summary>
<p>
<!-- It is possible to render markdown within HTML tag, but beware there should be spaces around it! -->
```json
your code here
```
</p>
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment