# Option to collapse text but not subheadings

**URL:** <https://forum.obsidian.md/t/option-to-collapse-text-but-not-subheadings/20657>\
**Category:** Feature requests\
**Created:** [July 11, 2021, 4:43pm UTC](https://forum.obsidian.md/t/option-to-collapse-text-but-not-subheadings/20657 "2021-07-11T16:43:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chromatic](https://forum.obsidian.md/user_avatar/forum.obsidian.md/chromatic/32/30009_2.png) [@Chromatic](https://forum.obsidian.md/u/Chromatic)\
**Post date:** [July 11, 2021, 4:43pm UTC](https://forum.obsidian.md/t/option-to-collapse-text-but-not-subheadings/20657/1 "2021-07-11T16:43:38Z")

</div>

### 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.

---

<div class="post-metadata">

**Author:** ![hmijail](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/90ced4/32.png) [@hmijail](https://forum.obsidian.md/u/hmijail)\
**Post date:** [August 31, 2024, 6:00am UTC](https://forum.obsidian.md/t/option-to-collapse-text-but-not-subheadings/20657/2 "2024-08-31T06:00:46Z")

</div>

I can imagine this being useful (as an option!)…
