markdownlint-cli
brew install markdownlint-cli
v0.49.0
MIT
Command-line linter for Markdown files with autofix support, powered by Node.js.
Why you might care
Catches common Markdown style issues (formatting, spacing, link validity) in documentation and README files. Supports configuration files, custom rules, and can auto-fix many violations—useful in CI/CD pipelines or as a pre-commit hook for maintaining consistent doc quality across projects.
1.8k
30-day installs · #1033
4.7k
90-day · #1130
15.7k
365-day · #1191
1.1k
★ GitHub stars · updated 4d ago
Runtime dependencies
GitHub topics
markdown
markdownlint
Links
- https://github.com/igorshubovych/markdownlint-cli
- GitHub: igorshubovych/markdownlint-cli
- Brew formula source: Formula/m/markdownlint-cli.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"mdl",
"prettier"
],
"build_dependencies": [],
"categories": [
"linter",
"formatter"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"node"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "CLI for Node.js style checker and lint tool for Markdown files",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:17+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "markdownlint-cli",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-17T05:11:49Z",
"github_readme_excerpt": "# markdownlint-cli\n\n[![GitHub Actions Build Status][actions-badge]][actions-url]\n\n\u003e Command Line Interface for [MarkdownLint][markdownlint]\n\n## Installation\n\n```bash\nnpm install -g markdownlint-cli\n```\n\nOn macOS you can install via [Homebrew](https://brew.sh/):\n\n```bash\nbrew install markdownlint-cli\n```\n\n## Usage\n\n```bash\nmarkdownlint --help\n\nUsage: markdownlint [options] [files|directories|globs...]\n\nMarkdownLint Command Line Interface\n\nArguments:\n files|directories|globs files, directories, and/or globs to lint\n\nOptions:\n -V, --version output the version number\n -c, --config \u003cconfigFile\u003e configuration file (JSON, JSONC, JS, YAML, or TOML)\n --configPointer \u003cpointer\u003e JSON Pointer to object within configuration file (default: \"\")\n -d, --dot include files/folders with a dot (for example `.github`)\n -f, --fix fix basic issues (does not work with STDIN)\n -i, --ignore \u003cfile|directory|glob\u003e file(s) to ignore/exclude (default: [])\n -j, --json write issues in json format\n -o, --output \u003coutputFile\u003e write issues to file (no console)\n -p, --ignore-path \u003cfile\u003e path to file with ignore pattern(s)\n -q, --quiet do not write issues to STDOUT\n -r, --rules \u003cfile|directory|glob|package\u003e include custom rule files (default: [])\n -s, --stdin read from STDIN (does not work with files)\n --enable \u003crules...\u003e Enable certain rules, e.g. --enable MD013 MD041 --\n --disable \u003crules...\u003e Disable certain rules, e.g. --disable MD013 MD041 --\n -h, --help display help for command\n```\n\nOr run using [Docker](https://www.docker.com) and [GitHub Packages](https://github.com/features/packages):\n\n```bash\ndocker run -v $PWD:/workdir ghcr.",
"github_repo": "igorshubovych/markdownlint-cli",
"github_stars": 1074,
"github_topics": [
"markdown",
"markdownlint"
],
"homepage": "https://github.com/igorshubovych/markdownlint-cli",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 1787,
"installs_365d": 15662,
"installs_90d": 4652,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:48:34+00:00",
"llm_model": "claude-haiku-4-5",
"name": "markdownlint-cli",
"oldnames": [],
"one_liner": "Command-line linter for Markdown files with autofix support, powered by Node.js.",
"optional_dependencies": [],
"rank_30d": 1033,
"rank_365d": 1191,
"rank_90d": 1130,
"raw_hash": "55e312d07f3ad122",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/m/markdownlint-cli.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.49.0",
"versioned_formulae": [],
"why_use_this": "Catches common Markdown style issues (formatting, spacing, link validity) in documentation and README files. Supports configuration files, custom rules, and can auto-fix many violations\u2014useful in CI/CD pipelines or as a pre-commit hook for maintaining consistent doc quality across projects."
}