Option to collapse text but not subheadings

Use case or problem

I use headings to format and organize my notes. H1 is always the title. Most notes go as deep as H3, but some all the way to H6. Sometimes it would be good to see an overview of all my headers, but the there is too much text in the way. However, if I fold a heading all it’s subheadings go with it.

For example, in current state:

H1
text text
H2
text text
H3
text text
H3
text text
H2
text text

Folding the first H2 shows:

H1
text text
>H2
H2
text text

Proposed solution

I am requesting to have the option to fold the first H2 so that it looks like this:

H1
text text
>H2
>H3
>H3
H2
text text

Current workaround (optional)

The outliner feature is good but I always want to fold headers in the moment, or when I am reading over my notes anyway.

2 Likes