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>
tag!
<details>
<summary>Summary Goes Here</summary>
...this is hidden, collapsable content...
</details>
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Click to expand!
def func():
return 'hello, world!'
root
bin
nest1
a b c
nest2
a b c
file1 file2 file3
boot
x y z
dev
p q r
etc
e t c
home
me you everyone
lib
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.