Is there an easy way to create a collapsible section in Docusaurus V2 markdown?
Would look for something similar to this on GitHub: https://gist.github.com/joyrexus/16041f2426450e73f5df9391f7f7ae5f
All you had to do was to add the gist code in your markdown file, I did the same and it worked out for me.
Check this out - HTML details tag
<details><summary>CLICK ME</summary>
<p>
#### yes, even hidden code blocks!
```python
print("hello world!")
```
</p>
</details>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With