Skip to content

Instantly share code, notes, and snippets.

@cogdog
Created November 3, 2024 15:33
Show Gist options
  • Save cogdog/690412ad24f169b1ca3b3211b53862a7 to your computer and use it in GitHub Desktop.
Save cogdog/690412ad24f169b1ca3b3211b53862a7 to your computer and use it in GitHub Desktop.
Testing Collapsibles
Let's Open Things Up

Thank You Roland!

Roland showed us!

You can add text within a collapsed section using HTML details/summary. Indeed, with a few extras on the detail tag include attribute markdown="1 and the summary tag needs markdown="span"

You can add an image

Felix is impressed Tell Me More About How ChatGPT is Revolutionizing Your World flickr photo by cogdogblog shared into the public domain using Creative Commons Public Domain Dedication (CC0) We all attribute, don't we?

or a code block, too.

   echo ('Collapsing commences');
@rtanglao
Copy link

rtanglao commented Nov 3, 2024

This is fun

it sure is, collapse all the things! i love just exposing a summary with the details a "super fast click to expand" away

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