Documenter.jl
Documenter.jl copied to clipboard
Create a collapsible element for @example block (with output outside the select block)
Hello, I would like to obtain something similar to #2166 , but where the output is always shown and the code is in a collapsible (html details) "Show code" block.
I have tried with:
!!! details "Show code"
```@example
a = [1,2,3]
b = vcat(a,1)
```
\```@raw html
<details><summary>Show code 2</summary>
\```
\```@example
c = [1,2,3]
d = vcat(c,1)
\```
\```@raw html
</details>
\```
However in both cases also the output is rendered inside the collapsible block...