# Remembering heading and indent collapse in notes

**URL:** <https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366>\
**Category:** Feature archive\
**Tags:** ui-ux, valuable\
**Created:** [May 24, 2020, 10:54am UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366 "2020-05-24T10:54:13Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![JkNML](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@JkNML](https://forum.obsidian.md/u/JkNML)\
**Post date:** [July 17, 2020, 12:46pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/21 "2020-07-17T12:46:33Z")

</div>

I don’t understand. Is the _outline mode_ an alternative for the current text editor for notes?

Or do you propose we can switch a particular note between _outline mode_ and ‘note taking mode’?

---

<div class="post-metadata">

**Author:** ![randulfr](https://forum.obsidian.md/user_avatar/forum.obsidian.md/randulfr/32/1212_2.png) [@randulfr](https://forum.obsidian.md/u/randulfr)\
**Post date:** [July 17, 2020, 1:55pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/22 "2020-07-17T13:55:09Z")

</div>

**Short answer** : I don’t see them as alternative either/or modes of a note, but rather as different note (information) structuring techniques that should be able to be freely intermixed in a single note.

Three use cases to help illustrate:

1. **During development/iteration of a note** : Very often, the earliest written form for me is an outline structure with simple bullet-point sentence fragments, to quickly capture the essential parts and some basic relationships, and then as I iterate on it, over time, parts progressively may get fleshed out into complete paragraphs, headings, etc.
2. **Final representation of a note** : The ‘final’ form of a stable note may very likely still have some parts that are best presented as a true outline with outlining features. For example, the various meta-notes that are discussed elsewhere on this forum like TOCs, MOCs, and the like.
3. **Edit vs Preview** : It is super useful when editing a longer note to have it structured in an outline fashion, with folding, hoisting (focusing), node annotations, hotkeys that move children with parents, etc, even if the final reader rendering is not going to have all this (e.g., for a PDF publication).

I should add: when thinking of outline mode, it is tempting to think purely of each node containing just short sentence fragments, like a list (which is certainly a legit and common use case), but this is limiting; each node may be a full paragraph itself.

---

<div class="post-metadata">

**Author:** ![lorenzlm](https://forum.obsidian.md/user_avatar/forum.obsidian.md/lorenzlm/32/3450_2.png) [@lorenzlm](https://forum.obsidian.md/u/lorenzlm)\
**Post date:** [September 7, 2020, 4:54pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/23 "2020-09-07T16:54:06Z")

</div>

+1

I’d also like to see this feature, but I guess the problem is where to store the folding-state information, as being folded or not is not part of the .md content. But aren’t there other plain text editors which achieve that?

---

<div class="post-metadata">

**Author:** ![Cito](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cito/32/554_2.png) [@Cito](https://forum.obsidian.md/u/Cito)\
**Post date:** [October 15, 2020, 12:40pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/24 "2020-10-15T12:40:26Z")

</div>

> [@lorenzlm](#):
>
> I guess the problem is where to store the folding-state information, as being folded or not is not part of the .md content

It could be stored in the cache file or in another JSON-file inside the `.obsidian` folder. Other similar information could be stored there, too, e.g. whether the file is in view or edit mode, to support per-file view mode (I have created a separate feature request for this).

Alternatively, it could be stored in a metadata section inside the .md file. I think various ideas for storing metadata at the top or bottom of the .md file are already under discussion.

---

<div class="post-metadata">

**Author:** ![cpr](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/439d5e/32.png) [@cpr](https://forum.obsidian.md/u/cpr)\
**Post date:** [November 4, 2020, 9:22pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/25 "2020-11-04T21:22:26Z")

</div>

Vote for this but I think persisting folding information per file is a bit too much, it would make files more cumbersome and less portable. Maybe we can just make default folding level configurable, take Vim as an example.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [December 15, 2020, 2:46am UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/26 "2020-12-15T02:46:55Z")

</div>

@Cito Could you please add link to the request you mentioned into your previous post?

> [@Cito](#):
>
> I have created a separate feature request for this

Edit: Thanks for [reply ↓](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/27).

---

<div class="post-metadata">

**Author:** ![Cito](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cito/32/554_2.png) [@Cito](https://forum.obsidian.md/u/Cito)\
**Post date:** [December 15, 2020, 12:13pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/27 "2020-12-15T12:13:18Z")

</div>

[Remember view mode per file](https://forum.obsidian.md/t/remember-view-mode-per-file/7069)

---

<div class="post-metadata">

**Author:** ![crisscrossed](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/97f17d/32.png) [@crisscrossed](https://forum.obsidian.md/u/crisscrossed)\
**Post date:** [January 14, 2021, 11:21am UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/28 "2021-01-14T11:21:12Z")

</div>

Yes 1+. This would give so much more clarity in note lists. It works so good in Roam and keeps the state from last time working on a note.

---

<div class="post-metadata">

**Author:** ![xnhp](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/50afbb/32.png) [@xnhp](https://forum.obsidian.md/u/xnhp)\
**Post date:** [January 21, 2021, 8:43am UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/29 "2021-01-21T08:43:50Z")

</div>

+1, would love to have this.

---

<div class="post-metadata">

**Author:** ![Scientist](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/f4b2a3/32.png) [@Scientist](https://forum.obsidian.md/u/Scientist)\
**Post date:** [January 21, 2021, 5:19pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/30 "2021-01-21T17:19:25Z")

</div>

Folding is one of the killer features that lures me to adopt Obsidian and leave Evernote. Hope it will gain memory sometime soon.

---

<div class="post-metadata">

**Author:** ![andreirs](https://forum.obsidian.md/user_avatar/forum.obsidian.md/andreirs/32/2596_2.png) [@andreirs](https://forum.obsidian.md/u/andreirs)\
**Post date:** [January 27, 2021, 2:26pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/31 "2021-01-27T14:26:02Z")

</div>

+1 for this feature. My intent is to use similar with space repletion and Anki integration a process where inside of the notes are grouped under specific questions.

When I come back to the note, I would like to see only the questions, recall the information from the memory and if I don’t remember it, expand the toggle list to get the answer.

A great example of this technique is explained by Samuel Suresh using Notion in this video (timeframe: 11:48)

[![](https://img.youtube.com/vi/_x4s7ZlIr-U/maxresdefault.jpg "How I Study and Learn - My Digital Note Taking Process (feat. Notion)") ](https://www.youtube.com/watch?v=_x4s7ZlIr-U)

---

<div class="post-metadata">

**Author:** ![El\_Cid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/el_cid/32/9480_2.png) [@El\_Cid](https://forum.obsidian.md/u/El_Cid)\
**Post date:** [January 28, 2021, 10:43am UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/32 "2021-01-28T10:43:06Z")

</div>

Registered to +1 this feature. I thought it was a bug 🙂  
As a user when you fold sections you intuitively expect that state to be preserved.

Obsidian is the best! It’s still under appreciated, but I do my best to spread the good news 🙂

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [February 9, 2021, 4:23pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/33 "2021-02-09T16:23:45Z")

</div>

will be implemented in v0.11

---

<div class="post-metadata">

**Author:** ![randulfr](https://forum.obsidian.md/user_avatar/forum.obsidian.md/randulfr/32/1212_2.png) [@randulfr](https://forum.obsidian.md/u/randulfr)\
**Post date:** [February 10, 2021, 8:32pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/34 "2021-02-10T20:32:16Z")

</div>

Woohoo! This is huge

---

<div class="post-metadata">

**Author:** ![Cito](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cito/32/554_2.png) [@Cito](https://forum.obsidian.md/u/Cito)\
**Post date:** [February 14, 2021, 9:26pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/35 "2021-02-14T21:26:38Z")

</div>

Not only that, a lot of other things are now persisted too in v0.11. Only edit mode is not yet persisted it seems.

But 0.11 is a big step forward again! Obsidian keeps me excited.

---

<div class="post-metadata">

**Author:** ![andreirs](https://forum.obsidian.md/user_avatar/forum.obsidian.md/andreirs/32/2596_2.png) [@andreirs](https://forum.obsidian.md/u/andreirs)\
**Post date:** [February 15, 2021, 9:19pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/36 "2021-02-15T21:19:06Z")

</div>

Thank you for the feature! Works as expected!

---

<div class="post-metadata">

**Author:** ![jlorand](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/898d66/32.png) [@jlorand](https://forum.obsidian.md/u/jlorand)\
**Post date:** [February 20, 2021, 8:22pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/37 "2021-02-20T20:22:58Z")

</div>

thank you so much for implementing this!! ❤  
in my opinion / for my uses, this is super important.

---

<div class="post-metadata">

**Author:** ![amshriva](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@amshriva](https://forum.obsidian.md/u/amshriva)\
**Post date:** [May 29, 2021, 9:45pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/38 "2021-05-29T21:45:46Z")

</div>

Is this implemented, I don’t see it it in .12.3 or .12.4 on mac. heading and indent collapse reset to fully open tree every time I leave and revisit the note file. This is for ouliner pane. Thanks!

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [May 29, 2021, 9:47pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/39 "2021-05-29T21:47:30Z")

</div>

If you are talking about the outline pane, then no. This FR is about remebering in note editor/preview collapse state.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [May 29, 2021, 9:47pm UTC](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366/40 "2021-05-29T21:47:35Z")

</div>

Closed on May 29, 2021, 9:47pm UTC



[Previous page](https://forum.obsidian.md/t/remembering-heading-and-indent-collapse-in-notes/366.md?page=1)
