README file from
GithubObsidian Markdownlint Plugin
This plugin uses the markdownlint library to lint files in your vault.
This plugin supports a subset of files supported by markdownlint-cli2. Specifically .markdownlint.jsonc, .markdownlint.json, .markdownlint.yaml, or .markdownlint.yml.1
Installation
Preview with Beta Reviewers Auto-update Tester (BRAT)
- Install BRAT
- Open
Settings->Community Plugins - Disable safe mode
- Browse, and search for "BRAT"
- Install the latest version of Obsidian 42 - BRAT
- Open
- Open BRAT settings (
Settings->Obsidian 42 - BRAT)- Scroll to the
Beta Plugin Listsection Add Beta Plugin- Specify this repository:
ebullient/obsidian-markdownlint
- Scroll to the
- Enable the plugin (
Settings->Community Plugins)
Using the plugin
If one of the supported config files (listed above) is present, markdown files will be linted with markdownlint following the configured rules.
Issues with your file will be highlighted in the editor for you to fix as you go.
Footnotes
-
Other formats require interpretation or use parsers that don't work well as an Obsidian plugin, in my experience. If you have a favorite format beyond these few, I welcome your help in making it work. Otherwise, it is what it is. ↩