Plugin that lets Folded Headings to be Remembered by Obsidian

TL;DR

If in the future, if someone made a plugin that allowed Obsidian or the vault to remember how headings/indents are folded, even when you leave the note, I would be most grateful.

Post:

I’m a new user to Obsidian, and have been content with all the features and plugins Obsidian has had to offer users now, and into the future.

Everything from the custom themes, CSS formats, and plugins I just really enjoy.

The way the application intrinsically works by just editing and using local markdown files in a vault almost fascinates me.

However, the one issue I have with Obsidian is the way it resets all my folds!

After creating a long, or even short, document I like to fold the headings and bullet points in the note to clean it up. It makes the text look nicer, and lets me control which information I would like to hide or show in a hierarchical way. This is wonderful-- until you click off the note. As soon as you return to your masterpiece, (pause for exaggeration), you’ll find that the entire document, (as well as its pictures and links), have spilled out onto the page.

I find this very frustrating.

I am aware of the hotkeys you can use to fold or unfold all your indents/headings-- which I use often. Yet they do not allow me to preserve the folds of a document in the way I like. It’s a pain to see all the information of a document at once, just as it is to see none of it.

After mulling over this issue, the only way I can see this issue being fixed would require a new plugin or feature of Obsidian that allows the history of a document to be remembered. Perhaps in the format of a .json file in the hidden .obsidian folder.

The goal of this plugin would be for it to be able to remember the way a document is folded (even if its only seen this way in Obsidian), and perhaps a version history of the note as a bonus.

This likely isn’t an issue many other users share, as after searches on Google, Reddit, as well as the Obsidian app and forums, I haven’t been able to find a similar post or thread relating to my issue. But I thought I’d mention it any way in the hope I’m missing something, or this has an easy fix.

P.S. Thank you to the developers of Obsidian and its plugins for their activity in the community and continued support of users. I have been intrigued to see all the interesting posts and ideas on these forums.

5 Likes

This is already implemented in 0.11.x

1 Like

There is a plugin call “Crease” that let you memorize the folding status of Headings. It works like a charm.

3 Likes

Does this work for mobile? I could not a plugin called “Crease”. There is a plugin called “Creases” but I’m not sure if that remembers your fold structure.

1 Like

Yes, you absolutely right. My normal workflow is to fold every heading either by command or manually. Then u can apply the plugin function by command Creases: Crease the current folds. It will generate a symbol (look like a T-shirt) beside each heading. From then on, they will remember the last status of your headings whenever you reopen it.

3 Likes

I applied the plugin function by command Creases: Crease the current folds. Which worked for the folds I wanted - but it also tried to fold my properties and messed them up. Maybe Creases needs to be updated to ignore the Properties section??

Yes. It remembers in Mobile too. It’s GREAT!

1 Like

Nice to hear it work for you. I hide Properties by default and to look at it in sidebar btw.

Just wanted to say that Creases does exactly what I was expecting the built in folding to do. Would love to see this built into the Obsidian folds but for now, works like a charm.

2 Likes