Skip to content

2.0.1

Choose a tag to compare

@kdnk kdnk released this 10 Sep 11:44
· 12 commits to main since this release

Changes

  • Remove the built-in save hook and Format on save setting so calling plugins can control the formatting sequence.
  • Keep the Format current file command and expose the awaitable format() method. Its Promise resolves after the editor update.
  • Read indentation from Obsidian's Editor settings and ignore legacy saved plugin options.

Migration

Automatic formatting now requires a calling plugin such as Automatic Linker. Enable its Prettier stage, and, if using Linter, enable its Linter stage and disable Linter's Lint on save. The coordinated order is links → Prettier → Linter. Manual formatting remains available through Format current file.

The minimum Obsidian version remains 0.15.0.

Validation

  • 38 automated tests passed, including manual formatting, both save-handler variants, and legacy settings.
  • TypeScript checks, the production build, and ESLint passed.