Sort Frontmatter
approvedby Kanzi
Sort frontmatter recursively.
★ 7 stars↓ 2,706 downloadsUpdated 2y agoMIT
Obsidian Sort Frontmatter
Summary
This plugin is created for the ObsidianMD-app. Its goal is to recursively sort through the frontmatter so that the properties are alphabetical. It will sort through objects, array, and its nested inhabitants up to 5 levels.
Implementation
See [[README_DEV.md]] for a walkthrough on the technical side. As far as usage is concerned, the procedure is as follows:
- Open up the Command Pallet
- Type
Sort Frontmatterand activate. - The current file on the screen will have its frontmatter sorted.
Tradeoffs
- I avoid Settings Tab and Ribbon bar because it simplifies the plugin (unix principles) but it also means that it is less apparent to new users. The benefits, however, outweigh the cons--not having to deal with manually removing unwanted ribbon icons or with absentmindedly forgetting on of the 40+ settings in your app lessens [[cognitive-load]] to more than minimal degree.
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.