Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.24 KB

File metadata and controls

25 lines (15 loc) · 1.24 KB

Obsidian Filename Frontmatter Sync

This project is a minor modification of Obsidian Filename Heading Sync by @dvcrn

This is a Obsidian plugin to keep the filename and frontmatter title: field of a file in sync

Note: This plugin will overwrite your first frontmatter field called title: the moment you open it, so this can be considered destructive.

Features

  • When renaming the current file -> will update the frontmatter
  • When opening a file that doesn't have a frontmatter title: field yet -> will insert one
  • When opening a file with a different title than the current file name -> will update the title
  • When updating the frontmatter of a file -> will rename the file

Current limitations and to do

  • When renaming a file that isn't the current file, nothing will happen. The heading will get updated the next time the file is opened in edit mode
  • Special characters that obsidian can't handle will get auto-stripped

LICENSE

MIT

For more details please see Obsidian Filename Heading Sync