Skip to content

Instantly share code, notes, and snippets.

@Ashton-W
Last active October 21, 2024 23:21
Show Gist options
  • Save Ashton-W/864d09d71f7cb8e5b47ebaac02b98455 to your computer and use it in GitHub Desktop.
Save Ashton-W/864d09d71f7cb8e5b47ebaac02b98455 to your computer and use it in GitHub Desktop.
GitHub Markdown toggle code block
Click to toggle contents of `code`
CODE!
Click to toggle contents of other `code`
MORE CODE!
<details>
<summary>Click to toggle contents of `code`</summary>
```
CODE!
```
</details>
@mhoffnn
Copy link

mhoffnn commented May 10, 2023

Nice :shipit:

@CharlyLegrandMartin
Copy link

Perfect! 🪄 Thanks!

@dhruvvyas25
Copy link

How to toggle with a second-level heading?

@emilienbidet
Copy link

Thanks

@zinzinzibidi
Copy link

Thanks!

@VoiceBeer
Copy link

thx :>

@SivaNagendraa
Copy link

Thank you

@usama-rahman
Copy link

thx

@stanley-ubidata
Copy link

Amazing! Thanks a lot!

@thesardorbroo
Copy link

thanks

@mustard-mh
Copy link

Thanks!!

@yippee0539
Copy link

yippee0539 commented Apr 20, 2024

This is a test
hello, world!

@horbjorn
Copy link

Thanks!

@sasankaweera123
Copy link

Click to toggle contents of code
CODE!

@mmierzwa
Copy link

mmierzwa commented Oct 9, 2024

Thank you!

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