**Obsidian Linter** is a community plugin for Obsidian that automatically formats and styles your notes according to configurable rules, keeping your vault consistent and clean.[](https://github.com/platers/obsidian-linter) ## What It Does The core idea is simple: you define a set of formatting rules, and the Linter enforces them — either automatically on save, or manually on demand for a single file or your entire vault. It's especially useful for vaults with lots of notes where inconsistencies creep in over time. ## What It Can Format The plugin covers a wide range of formatting concerns:[](https://community.obsidian.md/search?q=Linter) - **YAML frontmatter** — sort keys alphabetically, normalize tags, arrays, aliases, and metadata fields - **Markdown headings** — capitalization style, heading levels, blank lines around headings - **Spacing & paragraphs** — consistent blank lines, trailing spaces, line breaks - **Footnotes** — GitHub-flavored footnote formatting - **Math blocks** — LaTeX block formatting - **General Markdown** — link formatting, emphasis markers, list styles ## How to Trigger It You have several options for when linting runs:[](https://www.productived.net/articles/clean-up-your-obsidian-notes-using-linter-plugin) - **On save** — fully automatic, every time you save a file - **Manual per-file** — via a command palette action or hotkey - **Whole vault** — lint all files at once in one pass