Fold Properties By Default

approved

by Tommy Bergeron

Always have editor/metadata properties folded by default

17 stars5,229 downloadsUpdated 1y agoMIT
View on GitHub

Fold Properties By Default

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.

Known issues / potential improvements

  • 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.

Installation

  • 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.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.