No description
Find a file
2023-11-30 16:25:35 -08:00
.github/workflows Space out the yaml to make it easier to see. 2023-10-30 23:58:38 -07:00
src Use double quotes and leave strings as empty. 2023-11-30 16:07:09 -08:00
typings Use double quotes and leave strings as empty. 2023-11-30 16:07:09 -08:00
.env.example Update readems. 2023-10-25 04:48:43 -07:00
.eslintignore fix .eslintignore (#48) 2023-01-19 10:06:51 -05:00
.eslintrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
.gitignore Update gitignore 2023-10-30 21:02:53 -07:00
.npmrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
.prettierrc Update readems. 2023-10-25 04:48:43 -07:00
esbuild.config.ts Update one ring to use hot reload build system. 2023-10-23 19:40:37 -07:00
fophidian.ts Fix out of bounds, updagte with dedent. 2023-11-30 15:50:49 -08:00
jest.config.js Save working prototype. 2023-10-24 16:08:07 -07:00
LICENSE Add license and author. 2023-10-31 00:08:28 -07:00
manifest.json Update version. 2023-11-08 08:48:10 -08:00
package.json 1.0.25 2023-11-30 16:25:35 -08:00
pnpm-lock.yaml Fix out of bounds, updagte with dedent. 2023-11-30 15:50:49 -08:00
README.md Update readems. 2023-10-25 04:48:43 -07:00
README_DEV.md Document process for releasing. 2023-10-31 00:03:00 -07:00
styles.css Update sample css file. 2022-08-09 13:39:02 -04:00
tsconfig.json Save working prototype. 2023-10-24 16:08:07 -07:00
version-bump.mjs add version bump script (#10) 2022-01-22 16:13:50 -05:00
versions.json Update version. 2023-11-08 08:48:10 -08:00

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 Frontmatter and 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.