Collapse/expand quote blocks

I’d like for quote blocks to be collapsable in the same way that heading sections are. My use case: I often use the quote blocks to include reference information that I don’t necessarily always need to see in the note but I want to be able to quickly reference. It would be nice to collapse and expand those as needed.

Would it work just to put a heading level 6 just above the quote block and collapse that?
``

# # # # # Reference

this block … … and …


(I doesn't come across very well in the forum, sorry.

That is a decent workaround however I have to immediately follow the quote with another heading so that it does not collapse text outside of the quote. You can see that behavior in the screenshots I attached. Ideally, I would just want to collapse the content within the quote.


We support folding for headings and list items. In both cases, it is pretty clear is visible after folding (the heading / list item) and what is folded away (the text up until the next heading of same or higher level / the sub list). If folding a block quote, what should be hidden and what should be shown? We need something to be shown so we have somewhere to put the interface for unfolding, and for the user to know what was folded away.

Actually, the OP is asking about callouts, which I would distinguish quite a bit from quotes, even though in the usual programs that support them, the same syntax as for quotes is used.

As far as I remember you weren‘t too much sceptical about implementing call-outs at some point?

Yes. I do wish there was a callout feature.

I can confirm, we are not too skeptical about implementing callouts at some point. :wink:

@rexikan Ah, very good point about needing to show something. At first I thought that maybe you could put the “…” disclosure just within a quote, but per your point then it wouldn’t be clear to the use what was being hidden.

I’m wondering if a heading was inside the quote, you could fold the quoted content and leave the heading like how toggles work outside the quote? I am able to put a heading inside the quote block, but it doesn’t have the toggle interaction.

Thanks @krssno, it sounds like callouts are what I’m looking for!