Skip to content

Instantly share code, notes, and snippets.

@jimbrig
Last active July 18, 2024 14:52
Show Gist options
  • Save jimbrig/981493f2f2ac0d3b932a0bb6e956f547 to your computer and use it in GitHub Desktop.
Save jimbrig/981493f2f2ac0d3b932a0bb6e956f547 to your computer and use it in GitHub Desktop.
[Collapsible Markdown] #markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")

Raw Markdown

## collapsible markdown?

<details><summary>CLICK ME</summary>
 <p>

#### yes, even hidden code blocks! 

```python
 print("hello world!")
```
 </p>
</details>

Note that using four backtick delimeters on code-blocks allows you to place triple backdick delimeters inside the block for presenting markdown - Reference: https://stackoverflow.com/questions/33224686/how-to-render-triple-backticks-as-inline-code-block-in-markdown/33239484#33239484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment