-
It's very helpful to be able to hide and fold content, not just code. This allows you to hide details only some readers care about, and to do so in a longer-form and richer way than hover footnotes. We implement this in our own style of Bookdown, as demonstrated HERE, and I've seen and done this in other Rmd styles. If quarto could add this as a feature it would make it much easier for me and the teams I'm working with to switch over! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
This is a good suggestion, thank you. We'll add it to the todo list for the future. We have our hands pretty full right now, so not sure exactly when we'll get to it... |
Beta Was this translation helpful? Give feedback.
-
@daaronr We will definitely implement something like this -- seems quite broadly useful. As @dragonstyle this not be for a few weeks though. In the meantime I think it would be pretty easy to implement this as a Lua filter that targets |
Beta Was this translation helpful? Give feedback.
-
Another note: you could implement a variation of this this today using collapsible callouts, see https://quarto.org/docs/authoring/callouts.html#collapse |
Beta Was this translation helpful? Give feedback.
-
I was doing this using |
Beta Was this translation helpful? Give feedback.
-
Additionally: |
Beta Was this translation helpful? Give feedback.
Another note: you could implement a variation of this this today using collapsible callouts, see https://quarto.org/docs/authoring/callouts.html#collapse