Open
Description
Is your feature request related to a problem? Please describe.
When doing documentation where the code is a big focus and you have many examples for the user it would be nice to have a setting to get the code blocks un-collapsed/open as default 😊
Describe the solution you'd like
A setting would be nice, something like collapse_codeblocks_as_default
with default true, but which can be overwritten with false to get all code blocks to stay open.
Maybe implemented like so <details class="quote" {% if not config.collapse_codeblocks_as_default %} open {% endif %}>
in class.html.jinja
and function.html.jinja
.
Describe alternatives you've considered
What I've done now is that I've used custom templates for class.html.jinja
and function.html.jinja
with assistance from @pawamoy 😊
Additional context
Discussion regarding this can be found here.