PluginCommunity Plugin

Linter

Format and lint your Markdown files automatically. Fix YAML frontmatter, heading levels, spacing, trailing whitespace, and dozens of other rules on save.

by Victor TaoEditing

Victor Tao is credited as the original plugin creator. Setup notes, fit assessments, and cautions below are Obsidian Mate editorial guidance. How we review resources

writingeditingformattingmarkdowncleanup

Overview

Format and lint your Markdown files automatically. Fix YAML frontmatter, heading levels, spacing, trailing whitespace, and dozens of other rules on save. It works best for vaults that need consistent properties, headings, whitespace, and Markdown formatting. The practical value is a repeatable workflow that remains visible in ordinary Markdown or Obsidian's own interface, rather than an isolated feature added without a plan.

How to Install Linter

  1. 1Open Obsidian Settings, select Community plugins, and confirm Restricted mode is disabled.
  2. 2Search the community catalog for Linter, install it, and enable it.
  3. 3Open the plugin settings and review its defaults before using it on existing notes.
  4. 4Test the workflow in a copied note or disposable vault, then inspect the resulting files.

How to Use Linter

Enable a few rules, lint a copied note, and review the diff before turning on lint-on-save. Separate cosmetic rules from rules that can reorder YAML or change semantic formatting.

When Linter Helps

It works best for vaults that need consistent properties, headings, whitespace, and Markdown formatting.

A Safe First Workflow

Enable a few rules, lint a copied note, and review the diff before turning on lint-on-save. Separate cosmetic rules from rules that can reorder YAML or change semantic formatting.

Limits and Checks

  • A rule that is harmless in one vault can damage intentional formatting in another. Back up first and avoid enabling the entire rule set at once.
  • Keep a recoverable vault backup before enabling automation or bulk changes.

Details

GitHub stars
1.5k+

Sources and Documentation

This guide was checked against the creator's repository and primary documentation.

Related Obsidian Plugins

Related Guides

Explore more Obsidian resources

Discover more plugins, themes, templates, and starter vaults to build your perfect Obsidian setup.