CLICK ME
yes, even hidden code blocks!
print("hello world!")
wonderful, I was looking for this for a long time.
THANKS
I saw @antranapp's comment and figured out how to do it. here it is
<details open>
<summary>click to collapse</summary>
this one starts expanded because of the "open"
</details>
this one starts expanded because of the "open"
Is there a way to have this work with links without having to write the htlm directrly?
For mentioning links in Markdown, refer to this.
you can also use that in the collapsable section.
TESST
Any advice on how to get it to work in GitHub Pages? In GitHub it looks beautiful.
on the rendered page, much less so.
@Laura-Novich-OBW - you probably want to check out the CSS sections of https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
in or to a foreign country. (= overseas)
If you are accustomed to something, you know it so well or have experienced it so often that it seems natural, unsurprising, or easy to deal with.
this one starts expanded because of the "open"
Whoop, thanks for posting this. Makes for a much more readable document when including lengthy output sections (like tracebacks, etc...)