A similar issue (#425) requests foldable code blocks, and a comment also provides a simple solution to get the desired result. However, surrounding a code block with <details> and </details> would also hide the output generated by Weave.jl, such as a figure. Is there any way to hide the code, but not the output?