Keep embedded headings foldable

Use case or problem

I’m embedding long sections from my daily notes into various topical pages. It would be helpful if I could fold the headings inside the embedded content the same way I can do in their original note in live preview mode.

Proposed solution

My embedded lists seem foldable (might be a plugin, but I tried disabling the only obvious one, Outliner, and the folding still worked). So whatever way the embedded list folding works, to enable the same for embedded headings.

Current workaround (optional)

Can’t really think of anything aside of embedding each section separately then folding them with outside headers, but that would be quite tedious and inflexible.

Related feature requests (optional)

This one came up when I tried to search for existing threads, but embedded list folding does work for me :man_shrugging: