I have seen people on the official forums who have been wanting to have the metadata/frontmatter properties folded by default. I think this should be implemented as a built-in option, but for the time being, I came up with a simple way to achieve the same behavior.
There are no settings; it basically just checks if the metadata properties are unfolded. If they are, then I call the built-in command to toggle them to their folded state.
Especially useful to those who want to keep properties out of the way without hiding them entirely.
- Properties don't automatically fold when creating a new note which I believe is useful since you might want to enter some before folding them. Don't hesitate to suggest otherwise if that's how you feel like and I might consider implementing an automatic folding feature setting for new notes.
- Go to Obisidian's settings page.
- Open Community plugins settings page, click on the Browse button.
- Search for "Fold Properties By Default" in the search bar and find the plugin with this exact name.
- Click on the Install button.