Always have editor/metadata properties folded by default.
- JavaScript 96.3%
- TypeScript 3.7%
| .github/workflows | ||
| scripts | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| eslint.config.mts | ||
| LICENSE | ||
| main.ts | ||
| main.ts-ok-categories | ||
| main.ts.orig | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
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.