Output folding in RMarkdown

rmarkdown

#1

I just learned about the code_folding YAML option - and I love it! I plan to use it often :stuck_out_tongue:.

But now I'm feeling greedy -- is there a way to do output_folding? I sometimes have really really large outputs, and I would love to be able to hide them by default, allowing the user to open/close them as desired.

When looking for the answer, I found this post on Stack Overflow, but I don't know JavaScript, and was hoping that there would be a more direct solution. Does anyone know of any?

Thanks