Remembering fold status across sync

Use case

When working on a longer note, I fold at the headings to focus on the part that I am working on, and to prevent having to scroll through a whole lot of previous material before finding the place I need to work on (Obsidian to not remember the position of a note at last edit).

Proposed solution

It would be helpful if there was an option to sync the fold status across from one machine to another, so that it is not necessary to fold headings again by hand on the next edit.

Related feature requests (optional)