<details> in GitHub
Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a
<details> <summary>Summary Goes Here</summary> ...this is hidden, collapsable content... </details>
A collapsible section with markdown
Click to expand!
def func(): return 'hello, world!'
a b c
a b c
file1 file2 file3
x y z
p q r
e t c
me you everyone
lib er ate
Is it possible to include (Python) code inside summary and serve it on a Jekyll site such that it holds onto the same formatting as a chunk of code that's not inside the summary tag?
So far I either get no formatting at all, or when using pre tag inside summary I get some default formatting but not the one of my style.