Quorafind / Outliner.MD

https://outliner.md
128 stars 2 forks source link

[FR] Fold All Lines with Indentations #50

Open Friedolito opened 1 month ago

Friedolito commented 1 month ago

Not sure if it is the right place, but I'm looking since a long time for an obsidian feature, thats kind of an outliner feature as well. If it doesn't fit in Outliner.md purpose, than just delete the post.

As the title sais, I would love to have an command to fold all lines with indentations, but without affecting headings.

Background:

I have a lot of text and structure most of it in indentation. My hope would be to have notes opened always with folded lines so you don't get huge documents and be slain by the details in the indentations, but have a quick structured view, where you can go deeper if needed.

Eg ↓

First Image
Second Image

Thanks for considering. :)

XMB-7 commented 1 month ago

Obsidian has a built-in command called fold all headings and lists, so you may only need to find a plugin to just unfold all headings (e.g. creases). You can also combine relevant commands into a macro using quickadd for easier execution.

Friedolito commented 1 month ago

Thanks for the idea! I already tried different things. I didn't mange to accomplish this with creases. It would require running the "Increase heading fold level" command several times and the main problem ist, that I haven't found a way to execute macros or commands every time a note is opened.

I would like to just create my own plug-in, but lacking the programming skills and haven't the time right now to learn ;)