Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Auto Front Matter

conorzhongconorzhong4k downloads

Auto update front matter.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

自动化 Obsidian Markdown 的 Front Matter

V2

  1. 取消了“保存时修改”的功能,推荐结合 Commander 的宏命令 + 快捷键使用,例如:
    1. 在 Commander 新增宏命令,名称可以为“保存文件 + Auto Front Matter”
    2. 打开快捷键配置
    3. 取消默认保存文件的快捷键
    4. 增加宏命令“保存文件 + Auto Front Matter”的快捷键
  2. 取消了排序功能,推荐使用 Linter 的 YAML 排序功能
  3. 新增了自定义 Front Matter 功能,可以自定义 Front Matter 的内容

当 Action Type 为 Append 时,默认新增 Key 为 Array 类型,否则进行 Append 时,Obsidian 会提示类型不匹配

FAQ

Q: 为什么取消了“保存时修改”的功能?

A: 因为修改 Front Matter 本身也是对 Markdown 的一种修改,会导致监听修改的事件函数无限触发

Q: 为什么取消了排序功能

A: 因为 Linter 的排序很好用


ObsidianAutoFrontMatter

Automating Front Matter for Obsidian Markdown

V2

  1. The "modify while saving" function has been cancelled. It is recommended to use it in combination with Commander's macro commands + shortcut keys, for example:
    1. Add a new macro command in Commander, the name can be "Save File + Auto Front Matter"
    2. Open shortcut key configuration
    3. Cancel the default shortcut key for saving files
    4. Added shortcut key for macro command "Save File + Auto Front Matter"
  2. The sorting function has been cancelled. It is recommended to use Linter’s YAML sorting function.
  3. Added custom Front Matter function to customize the content of Front Matter

When the Action Type is Append, the new Key is Array type by default. Otherwise, Obsidian will prompt that the type does not match when Append is performed.

FAQ

Q: Why was the "modify while saving" function canceled?

A: Because modifying Front Matter itself is also a modification of Markdown, it will cause the event function that monitors the modification to trigger infinitely.

Q: Why was the sorting function cancelled?

A: Because Linter sorting is very easy to use.

67%
HealthFair
ReviewSatisfactory
About
Automate Front Matter for Obsidian Markdown. Add or update YAML fields from customizable templates, default appended keys as arrays to prevent type mismatches, and run via Commander macros for save-and-update workflows.
PropertiesAutomationTemplating
Details
Current version
2.0.2
Last updated
3 years ago
Created
3 years ago
Updates
6 releases
Downloads
4k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
conorzhongconorzhong
conorzhong.com
GitHubconorzhong
  1. Community
  2. Plugins
  3. Properties
  4. Auto Front Matter

Related plugins

QuickAdd

Quickly add new notes or content to your vault.

Templater

Create and use dynamic templates.

MetaEdit

Manage your metadata.

PodNotes

Write notes on podcasts with ease.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

Fold Properties By Default

Always have editor/metadata properties folded by default

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

BRAT

Easily install a beta version of a plugin for testing.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.