Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By melodic-software Verified Orgv1.1.11MITIn 1 marketplace
Keeps the Markdown you and Claude write lint-clean by running markdownlint-cli2 --fix on it after edits and at git commit. It runs only in repos with their own markdownlint config and needs jq and markdownlint-cli2 installed.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
markdownlint, markdown-formatting, markdown-linter, pre-commit, git-hooks, code-formatting, formatter, linter ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Rewrite markdown after editsmarkdown_format_enabled
Rewrite the Markdown files a batch of tool calls wrote (runs only when the repo carries a markdownlint config)
booleandefault true
Check markdown in uncommitted changes at turn endmarkdown_format_end_of_turn
When a turn ends, run the pre-commit check over the uncommitted changes; nothing is rewritten. Unset (the default) shows markdownlint findings to you in a warning and the turn ends. true hands them back to Claude, at most once per turn. false runs no check.
boolean
Act on files git ignoresmarkdown_format_lint_gitignored
By default the hook leaves gitignored files alone: a scratch tier the repo excludes is not rewritten. Set true to bypass this hook's git check; markdownlint-cli2's own ignores and gitignore config still apply, so a path your markdownlint config excludes stays untouched.
booleandefault false
A Claude Code plugin that formats Markdown with
markdownlint-cli2 --fix in two
places. In a session it rewrites the .md and .mdc files a batch of tool calls wrote,
once per batch, and says nothing. At git commit a pre-commit entry rewrites the staged
Markdown, re-stages it, and blocks the commit only on a finding the commit adds. The
entry covers every author, people and other agents included, so findings reach whoever
commits and no finding reaches Claude per edit.
It uses your repository's own markdownlint configuration. It ships none and imposes no rules of its own. A repository with no discoverable markdownlint config has chosen no Markdown style, so nothing runs there. Carrying a config is the opt-in.
hooks.json registers one PostToolBatch row. The event has
no matcher, so the launcher flag --skip-unless-stdin-contains .md ends the row before
bash starts when the batch never mentions .md. The script then reads the Write,
Edit and MultiEdit calls in the batch, rewrites the .md and .mdc files they
named, once per repository root, and prints nothing. A file that only a Read named is
never rewritten.markdownlint-cli2 discovers on its own exists between the file's directory and the
repository root. A config the tool reads only when a flag points it there does not open
the gate. Which file names it discovers, and how a nested config scopes, is
markdownlint-cli2: Configuration's
to say. Both the batch row and the pre-commit entry read the same gates
(git-hooks/markdown-gates.sh)..cjs or
.mjs config, and a config naming customRules, markdownItPlugins or
outputFormatters, as able to run code the repository supplies. How markdownlint-cli2
loads those is
markdownlint-cli2: .markdownlint-cli2.cjs or .markdownlint-cli2.mjs's
and, for the three keys,
markdownlint-cli2: .markdownlint-cli2.jsonc's
to say (as of 2026-11-03; recheck when either section changes which config formats or keys
load modules). Until you approve that config state,
the files it governs are neither rewritten nor checked: the pre-commit entry prints a
trust-gate line and the batch row stays silent. See Trust model..work/**, build output, or a vendored tree, is not rewritten. The verdict
comes from git check-ignore; which ignore sources it reads is
git-check-ignore: description's
to say. A tracked file is never treated as ignored. Set
markdown_format_lint_gitignored to true to bypass this check. What markdownlint-cli2's
own ignores and gitignore keys do then is
markdownlint-cli2: .markdownlint-cli2.jsonc's
to say. The pre-commit
entry only sees files git stages, so it needs no such rule.Write, Edit and MultiEdit
calls. A file written through Bash, PowerShell or an MCP tool is not rewritten in
the session; the pre-commit entry formats it at commit..githooks/ are never rewritten. They are installed copies of check
scripts.CLAUDE_PROJECT_DIR); a scratch file outside any repository is left alone./markdown-format:setup check.<path>:<line>: <message> on stderr with exit 1, only for lines the commit adds.7-day copy clicks
npx claudepluginhub melodic-software/claude-code-plugins --plugin markdown-formatPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.