{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Config",
"description": "rumdl configuration for linting Markdown files. Rules can be configured individually using [MD###] sections with rule-specific options.",
"type": "object",
"properties": {
"extends": {
"description": "Path to a base config file to inherit settings from.\nSupports relative paths, absolute paths, `~/` for the home directory, and\n`$VAR` / `${VAR}` environment-variable expansion (a literal `$` is written `$$`).\nExample: `extends = \"../base.rumdl.toml\"` or `extends = \"$GEM_PATH/base.rumdl.toml\"`",
"type": [
"string",
"null"
]
},
"global": {
"description": "Global configuration options",
"$ref": "#/$defs/GlobalConfig",
"default": {
"enable": [],
"disable": [],
"exclude": [],
"include": [],
"respect-gitignore": true,
"line-length": 80,
"fixable": [],
"unfixable": [],
"flavor": "standard",
"force-exclude": false,
"cache": true,
"extend-enable": [],
"extend-disable": [],
"editorconfig": false
}
},
"per-file-ignores": {
"description": "Per-file rule ignores: maps file patterns to lists of rules to ignore.\nPatterns are relative to the project root; a leading `~/` expands to the\nhome directory and absolute paths are matched as written.\nExample: { \"README.md\": [\"MD033\"], \"docs/**/*.md\": [\"MD013\"] }",
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"default": {}
},
"per-file-flavor": {
"description": "Per-file flavor overrides: maps file patterns to Markdown flavors.\nPatterns are relative to the project root; a leading `~/` expands to the\nhome directory and absolute paths are matched as written.\nExample: { \"docs/**/*.md\": MkDocs, \"**/*.mdx\": MDX }\nUses IndexMap to preserve config file order for \"first match wins\" semantics",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/MarkdownFlavor"
},
"default": {}
},
"code-block-tools": {
"description": "Code block tools configuration for per-language linting and formatting\nusing external tools like ruff, prettier, shellcheck, etc.",
"$ref": "#/$defs/CodeBlockToolsConfig",
"default": {
"enabled": false,
"normalize-language": "linguist",
"on-error": "fail",
"on-missing-language-definition": "ignore",
"on-missing-tool-binary": "warn",
"binary-preferences": {},
"on-tool-version-mismatch": "warn",
"on-missing-language-tag": "ignore",
"on-missing-mode-definition": "ignore",
"on-no-tools-run": "ignore",
"timeout": 30000,
"languages": {},
"language-aliases": {},
"tools": {}
}
},
"enable": {
"description": "Enabled rules",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"disable": {
"description": "Disabled rules",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"include": {
"description": "Files to include. Glob patterns, relative to the project root; a\nleading `~/` expands to the home directory and absolute paths are\nmatched as written.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"exclude": {
"description": "Files to exclude. Glob patterns, relative to the project root; a\nleading `~/` expands to the home directory and absolute paths are\nmatched as written.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"extend-enable": {
"description": "Additional rules to enable on top of the base set (additive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"extend_enable": {
"description": "Additional rules to enable on top of the base set (additive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"extend-disable": {
"description": "Additional rules to disable on top of the base set (additive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"extend_disable": {
"description": "Additional rules to disable on top of the base set (additive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"respect-gitignore": {
"description": "Respect .gitignore, .ignore and git exclude files when scanning\ndirectories. .markdownlintignore applies regardless, and explicitly\nnamed files bypass both.",
"type": "boolean",
"default": true
},
"respect_gitignore": {
"description": "Respect .gitignore, .ignore and git exclude files when scanning\ndirectories. .markdownlintignore applies regardless, and explicitly\nnamed files bypass both.",
"type": "boolean",
"default": true
},
"force-exclude": {
"description": "\\[DEPRECATED\\] Whether to enforce exclude patterns for explicitly passed paths.\nThis option is deprecated as of v0.0.156 and has no effect.\nExclude patterns are now always respected, even for explicitly provided files.\nThis prevents duplication between rumdl config and tool configs like pre-commit.",
"type": "boolean",
"deprecated": true,
"default": false
},
"force_exclude": {
"description": "\\[DEPRECATED\\] Whether to enforce exclude patterns for explicitly passed paths.\nThis option is deprecated as of v0.0.156 and has no effect.\nExclude patterns are now always respected, even for explicitly provided files.\nThis prevents duplication between rumdl config and tool configs like pre-commit.",
"type": "boolean",
"deprecated": true,
"default": false
},
"line-length": {
"anyOf": [
{
"description": "Global line length setting (used by MD013 and other rules if not overridden)",
"$ref": "#/$defs/LineLength",
"default": 80
},
{
"$ref": "#/$defs/MD013"
}
]
},
"line_length": {
"anyOf": [
{
"description": "Global line length setting (used by MD013 and other rules if not overridden)",
"$ref": "#/$defs/LineLength",
"default": 80
},
{
"$ref": "#/$defs/MD013"
}
]
},
"output-format": {
"description": "Output format for linting results (e.g., \"text\", \"json\", \"pylint\", etc.)",
"type": [
"string",
"null"
]
},
"output_format": {
"description": "Output format for linting results (e.g., \"text\", \"json\", \"pylint\", etc.)",
"type": [
"string",
"null"
]
},
"cache-dir": {
"description": "Directory to store cache files (default: .rumdl_cache).\nA leading `~/` expands to the home directory; a relative path resolves\nagainst the project root.\nCan also be set via --cache-dir CLI flag or RUMDL_CACHE_DIR environment variable",
"type": [
"string",
"null"
]
},
"cache_dir": {
"description": "Directory to store cache files (default: .rumdl_cache).\nA leading `~/` expands to the home directory; a relative path resolves\nagainst the project root.\nCan also be set via --cache-dir CLI flag or RUMDL_CACHE_DIR environment variable",
"type": [
"string",
"null"
]
},
"cache": {
"description": "Whether caching is enabled (default: true)\nCan also be disabled via --no-cache CLI flag",
"type": "boolean",
"default": true
},
"fixable": {
"description": "Rules that are allowed to be fixed when --fix is used\nIf specified, only these rules will be fixed",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"unfixable": {
"description": "Rules that should never be fixed, even when --fix is used\nTakes precedence over fixable",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"flavor": {
"description": "Markdown flavor/dialect to use (mkdocs, gfm, commonmark, etc.)\nWhen set, adjusts parsing and validation rules for that specific Markdown variant",
"$ref": "#/$defs/MarkdownFlavor",
"default": "standard"
},
"editorconfig": {
"description": "Whether to read settings from `.editorconfig` files (default: false).\nWhen enabled, the `.editorconfig` properties that map onto rumdl\nsettings fill in anything no rumdl config sets, resolved per file so\nsection globs and nested `.editorconfig` files apply as written.",
"type": "boolean",
"default": false
},
"MD001": {
"$ref": "#/$defs/MD001"
},
"MD003": {
"$ref": "#/$defs/MD003"
},
"MD004": {
"$ref": "#/$defs/MD004"
},
"MD005": {
"$ref": "#/$defs/MD005"
},
"MD007": {
"$ref": "#/$defs/MD007"
},
"MD009": {
"$ref": "#/$defs/MD009"
},
"MD010": {
"$ref": "#/$defs/MD010"
},
"MD011": {
"$ref": "#/$defs/MD011"
},
"MD012": {
"$ref": "#/$defs/MD012"
},
"MD013": {
"$ref": "#/$defs/MD013"
},
"MD014": {
"$ref": "#/$defs/MD014"
},
"MD018": {
"$ref": "#/$defs/MD018"
},
"MD019": {
"$ref": "#/$defs/MD019"
},
"MD020": {
"$ref": "#/$defs/MD020"
},
"MD021": {
"$ref": "#/$defs/MD021"
},
"MD022": {
"$ref": "#/$defs/MD022"
},
"MD023": {
"$ref": "#/$defs/MD023"
},
"MD024": {
"$ref": "#/$defs/MD024"
},
"MD025": {
"$ref": "#/$defs/MD025"
},
"MD026": {
"$ref": "#/$defs/MD026"
},
"MD027": {
"$ref": "#/$defs/MD027"
},
"MD028": {
"$ref": "#/$defs/MD028"
},
"MD029": {
"$ref": "#/$defs/MD029"
},
"MD030": {
"$ref": "#/$defs/MD030"
},
"MD031": {
"$ref": "#/$defs/MD031"
},
"MD032": {
"$ref": "#/$defs/MD032"
},
"MD033": {
"$ref": "#/$defs/MD033"
},
"MD034": {
"$ref": "#/$defs/MD034"
},
"MD035": {
"$ref": "#/$defs/MD035"
},
"MD036": {
"$ref": "#/$defs/MD036"
},
"MD037": {
"$ref": "#/$defs/MD037"
},
"MD038": {
"$ref": "#/$defs/MD038"
},
"MD039": {
"$ref": "#/$defs/MD039"
},
"MD040": {
"$ref": "#/$defs/MD040"
},
"MD041": {
"$ref": "#/$defs/MD041"
},
"MD042": {
"$ref": "#/$defs/MD042"
},
"MD043": {
"$ref": "#/$defs/MD043"
},
"MD044": {
"$ref": "#/$defs/MD044"
},
"MD045": {
"$ref": "#/$defs/MD045"
},
"MD046": {
"$ref": "#/$defs/MD046"
},
"MD047": {
"$ref": "#/$defs/MD047"
},
"MD048": {
"$ref": "#/$defs/MD048"
},
"MD049": {
"$ref": "#/$defs/MD049"
},
"MD050": {
"$ref": "#/$defs/MD050"
},
"MD051": {
"$ref": "#/$defs/MD051"
},
"MD052": {
"$ref": "#/$defs/MD052"
},
"MD053": {
"$ref": "#/$defs/MD053"
},
"MD054": {
"$ref": "#/$defs/MD054"
},
"MD055": {
"$ref": "#/$defs/MD055"
},
"MD056": {
"$ref": "#/$defs/MD056"
},
"MD057": {
"$ref": "#/$defs/MD057"
},
"MD058": {
"$ref": "#/$defs/MD058"
},
"MD059": {
"$ref": "#/$defs/MD059"
},
"MD060": {
"$ref": "#/$defs/MD060"
},
"MD061": {
"$ref": "#/$defs/MD061"
},
"MD062": {
"$ref": "#/$defs/MD062"
},
"MD063": {
"$ref": "#/$defs/MD063"
},
"MD064": {
"$ref": "#/$defs/MD064"
},
"MD065": {
"$ref": "#/$defs/MD065"
},
"MD066": {
"$ref": "#/$defs/MD066"
},
"MD067": {
"$ref": "#/$defs/MD067"
},
"MD068": {
"$ref": "#/$defs/MD068"
},
"MD069": {
"$ref": "#/$defs/MD069"
},
"MD070": {
"$ref": "#/$defs/MD070"
},
"MD071": {
"$ref": "#/$defs/MD071"
},
"MD072": {
"$ref": "#/$defs/MD072"
},
"MD073": {
"$ref": "#/$defs/MD073"
},
"MD074": {
"$ref": "#/$defs/MD074"
},
"MD075": {
"$ref": "#/$defs/MD075"
},
"MD076": {
"$ref": "#/$defs/MD076"
},
"MD077": {
"$ref": "#/$defs/MD077"
},
"MD078": {
"$ref": "#/$defs/MD078"
},
"MD079": {
"$ref": "#/$defs/MD079"
},
"MD080": {
"$ref": "#/$defs/MD080"
},
"MD081": {
"$ref": "#/$defs/MD081"
},
"MD082": {
"$ref": "#/$defs/MD082"
},
"MD083": {
"$ref": "#/$defs/MD083"
},
"MD084": {
"$ref": "#/$defs/MD084"
},
"MD085": {
"$ref": "#/$defs/MD085"
},
"MD086": {
"$ref": "#/$defs/MD086"
},
"MD087": {
"$ref": "#/$defs/MD087"
},
"MD088": {
"$ref": "#/$defs/MD088"
},
"MD089": {
"$ref": "#/$defs/MD089"
},
"MD090": {
"$ref": "#/$defs/MD090"
},
"MD091": {
"$ref": "#/$defs/MD091"
},
"MD092": {
"$ref": "#/$defs/MD092"
},
"MD093": {
"$ref": "#/$defs/MD093"
},
"MD094": {
"$ref": "#/$defs/MD094"
},
"MD095": {
"$ref": "#/$defs/MD095"
},
"MD096": {
"$ref": "#/$defs/MD096"
},
"blank-line-after-frontmatter": {
"$ref": "#/$defs/MD071"
},
"blanks-around-fences": {
"$ref": "#/$defs/MD031"
},
"blanks-around-headings": {
"$ref": "#/$defs/MD022"
},
"blanks-around-horizontal-rules": {
"$ref": "#/$defs/MD065"
},
"blanks-around-lists": {
"$ref": "#/$defs/MD032"
},
"blanks-around-tables": {
"$ref": "#/$defs/MD058"
},
"chunk-label-spaces": {
"$ref": "#/$defs/MD079"
},
"cjk-spacing": {
"$ref": "#/$defs/MD089"
},
"code-block-style": {
"$ref": "#/$defs/MD046"
},
"code-fence-style": {
"$ref": "#/$defs/MD048"
},
"commands-show-output": {
"$ref": "#/$defs/MD014"
},
"descriptive-link-text": {
"$ref": "#/$defs/MD059"
},
"emphasis-style": {
"$ref": "#/$defs/MD049"
},
"empty-footnote-definition": {
"$ref": "#/$defs/MD068"
},
"existing-relative-links": {
"$ref": "#/$defs/MD057"
},
"fenced-code-language": {
"$ref": "#/$defs/MD040"
},
"first-line-h1": {
"$ref": "#/$defs/MD041"
},
"first-line-heading": {
"$ref": "#/$defs/MD041"
},
"footnote-definition-order": {
"$ref": "#/$defs/MD067"
},
"footnote-validation": {
"$ref": "#/$defs/MD066"
},
"forbidden-terms": {
"$ref": "#/$defs/MD061"
},
"frontmatter-key-sort": {
"$ref": "#/$defs/MD072"
},
"heading-anchor-collision": {
"$ref": "#/$defs/MD080"
},
"heading-capitalization": {
"$ref": "#/$defs/MD063"
},
"heading-increment": {
"$ref": "#/$defs/MD001"
},
"heading-start-left": {
"$ref": "#/$defs/MD023"
},
"heading-style": {
"$ref": "#/$defs/MD003"
},
"hr-style": {
"$ref": "#/$defs/MD035"
},
"invalid-encoding": {
"$ref": "#/$defs/MD094"
},
"invisible-characters": {
"$ref": "#/$defs/MD084"
},
"link-confusables": {
"$ref": "#/$defs/MD095"
},
"link-destination-whitespace": {
"$ref": "#/$defs/MD062"
},
"link-fragments": {
"$ref": "#/$defs/MD051"
},
"link-image-reference-definitions": {
"$ref": "#/$defs/MD053"
},
"link-image-style": {
"$ref": "#/$defs/MD054"
},
"list-continuation-indent": {
"$ref": "#/$defs/MD077"
},
"list-indent": {
"$ref": "#/$defs/MD005"
},
"list-item-spacing": {
"$ref": "#/$defs/MD076"
},
"list-marker-space": {
"$ref": "#/$defs/MD030"
},
"merge-conflict": {
"$ref": "#/$defs/MD092"
},
"missing-chunk-labels": {
"$ref": "#/$defs/MD078"
},
"mkdocs-nav": {
"$ref": "#/$defs/MD074"
},
"mojibake": {
"$ref": "#/$defs/MD083"
},
"nested-code-fence": {
"$ref": "#/$defs/MD070"
},
"no-alt-text": {
"$ref": "#/$defs/MD045"
},
"no-bare-urls": {
"$ref": "#/$defs/MD034"
},
"no-blanks-blockquote": {
"$ref": "#/$defs/MD028"
},
"no-duplicate-heading": {
"$ref": "#/$defs/MD024"
},
"no-duplicate-list-markers": {
"$ref": "#/$defs/MD069"
},
"no-emphasis-as-heading": {
"$ref": "#/$defs/MD036"
},
"no-empty-links": {
"$ref": "#/$defs/MD042"
},
"no-empty-sections": {
"$ref": "#/$defs/MD082"
},
"no-excessive-emphasis": {
"$ref": "#/$defs/MD081"
},
"no-formatting-in-headings": {
"$ref": "#/$defs/MD093"
},
"no-hard-tabs": {
"$ref": "#/$defs/MD010"
},
"no-hr-before-heading": {
"$ref": "#/$defs/MD090"
},
"no-inline-html": {
"$ref": "#/$defs/MD033"
},
"no-markdown-in-html": {
"$ref": "#/$defs/MD091"
},
"no-missing-space-atx": {
"$ref": "#/$defs/MD018"
},
"no-missing-space-closed-atx": {
"$ref": "#/$defs/MD020"
},
"no-multiple-blanks": {
"$ref": "#/$defs/MD012"
},
"no-multiple-consecutive-spaces": {
"$ref": "#/$defs/MD064"
},
"no-multiple-space-atx": {
"$ref": "#/$defs/MD019"
},
"no-multiple-space-blockquote": {
"$ref": "#/$defs/MD027"
},
"no-multiple-space-closed-atx": {
"$ref": "#/$defs/MD021"
},
"no-reversed-links": {
"$ref": "#/$defs/MD011"
},
"no-space-in-code": {
"$ref": "#/$defs/MD038"
},
"no-space-in-emphasis": {
"$ref": "#/$defs/MD037"
},
"no-space-in-link-destination": {
"$ref": "#/$defs/MD062"
},
"no-space-in-links": {
"$ref": "#/$defs/MD039"
},
"no-trailing-punctuation": {
"$ref": "#/$defs/MD026"
},
"no-trailing-spaces": {
"$ref": "#/$defs/MD009"
},
"no-unclosed-comments": {
"$ref": "#/$defs/MD086"
},
"ol-prefix": {
"$ref": "#/$defs/MD029"
},
"orphaned-table-rows": {
"$ref": "#/$defs/MD075"
},
"paragraph-continuation-indent": {
"$ref": "#/$defs/MD085"
},
"proper-names": {
"$ref": "#/$defs/MD044"
},
"quotes-dashes": {
"$ref": "#/$defs/MD088"
},
"reference-links-images": {
"$ref": "#/$defs/MD052"
},
"required-headings": {
"$ref": "#/$defs/MD043"
},
"single-h1": {
"$ref": "#/$defs/MD025"
},
"single-title": {
"$ref": "#/$defs/MD025"
},
"single-trailing-newline": {
"$ref": "#/$defs/MD047"
},
"strong-style": {
"$ref": "#/$defs/MD050"
},
"table-cell-alignment": {
"$ref": "#/$defs/MD060"
},
"table-column-count": {
"$ref": "#/$defs/MD056"
},
"table-column-style": {
"$ref": "#/$defs/MD060"
},
"table-format": {
"$ref": "#/$defs/MD060"
},
"table-pipe-style": {
"$ref": "#/$defs/MD055"
},
"table-sort": {
"$ref": "#/$defs/MD096"
},
"toc-validation": {
"$ref": "#/$defs/MD073"
},
"ul-indent": {
"$ref": "#/$defs/MD007"
},
"ul-style": {
"$ref": "#/$defs/MD004"
},
"unused-disable-comment": {
"$ref": "#/$defs/MD087"
},
"rules": {
"description": "Rule sections under a `[rules]` heading: `[rules.MD013]` is the same as `[MD013]`.",
"type": "object",
"properties": {
"MD001": {
"$ref": "#/$defs/MD001"
},
"MD003": {
"$ref": "#/$defs/MD003"
},
"MD004": {
"$ref": "#/$defs/MD004"
},
"MD005": {
"$ref": "#/$defs/MD005"
},
"MD007": {
"$ref": "#/$defs/MD007"
},
"MD009": {
"$ref": "#/$defs/MD009"
},
"MD010": {
"$ref": "#/$defs/MD010"
},
"MD011": {
"$ref": "#/$defs/MD011"
},
"MD012": {
"$ref": "#/$defs/MD012"
},
"MD013": {
"$ref": "#/$defs/MD013"
},
"MD014": {
"$ref": "#/$defs/MD014"
},
"MD018": {
"$ref": "#/$defs/MD018"
},
"MD019": {
"$ref": "#/$defs/MD019"
},
"MD020": {
"$ref": "#/$defs/MD020"
},
"MD021": {
"$ref": "#/$defs/MD021"
},
"MD022": {
"$ref": "#/$defs/MD022"
},
"MD023": {
"$ref": "#/$defs/MD023"
},
"MD024": {
"$ref": "#/$defs/MD024"
},
"MD025": {
"$ref": "#/$defs/MD025"
},
"MD026": {
"$ref": "#/$defs/MD026"
},
"MD027": {
"$ref": "#/$defs/MD027"
},
"MD028": {
"$ref": "#/$defs/MD028"
},
"MD029": {
"$ref": "#/$defs/MD029"
},
"MD030": {
"$ref": "#/$defs/MD030"
},
"MD031": {
"$ref": "#/$defs/MD031"
},
"MD032": {
"$ref": "#/$defs/MD032"
},
"MD033": {
"$ref": "#/$defs/MD033"
},
"MD034": {
"$ref": "#/$defs/MD034"
},
"MD035": {
"$ref": "#/$defs/MD035"
},
"MD036": {
"$ref": "#/$defs/MD036"
},
"MD037": {
"$ref": "#/$defs/MD037"
},
"MD038": {
"$ref": "#/$defs/MD038"
},
"MD039": {
"$ref": "#/$defs/MD039"
},
"MD040": {
"$ref": "#/$defs/MD040"
},
"MD041": {
"$ref": "#/$defs/MD041"
},
"MD042": {
"$ref": "#/$defs/MD042"
},
"MD043": {
"$ref": "#/$defs/MD043"
},
"MD044": {
"$ref": "#/$defs/MD044"
},
"MD045": {
"$ref": "#/$defs/MD045"
},
"MD046": {
"$ref": "#/$defs/MD046"
},
"MD047": {
"$ref": "#/$defs/MD047"
},
"MD048": {
"$ref": "#/$defs/MD048"
},
"MD049": {
"$ref": "#/$defs/MD049"
},
"MD050": {
"$ref": "#/$defs/MD050"
},
"MD051": {
"$ref": "#/$defs/MD051"
},
"MD052": {
"$ref": "#/$defs/MD052"
},
"MD053": {
"$ref": "#/$defs/MD053"
},
"MD054": {
"$ref": "#/$defs/MD054"
},
"MD055": {
"$ref": "#/$defs/MD055"
},
"MD056": {
"$ref": "#/$defs/MD056"
},
"MD057": {
"$ref": "#/$defs/MD057"
},
"MD058": {
"$ref": "#/$defs/MD058"
},
"MD059": {
"$ref": "#/$defs/MD059"
},
"MD060": {
"$ref": "#/$defs/MD060"
},
"MD061": {
"$ref": "#/$defs/MD061"
},
"MD062": {
"$ref": "#/$defs/MD062"
},
"MD063": {
"$ref": "#/$defs/MD063"
},
"MD064": {
"$ref": "#/$defs/MD064"
},
"MD065": {
"$ref": "#/$defs/MD065"
},
"MD066": {
"$ref": "#/$defs/MD066"
},
"MD067": {
"$ref": "#/$defs/MD067"
},
"MD068": {
"$ref": "#/$defs/MD068"
},
"MD069": {
"$ref": "#/$defs/MD069"
},
"MD070": {
"$ref": "#/$defs/MD070"
},
"MD071": {
"$ref": "#/$defs/MD071"
},
"MD072": {
"$ref": "#/$defs/MD072"
},
"MD073": {
"$ref": "#/$defs/MD073"
},
"MD074": {
"$ref": "#/$defs/MD074"
},
"MD075": {
"$ref": "#/$defs/MD075"
},
"MD076": {
"$ref": "#/$defs/MD076"
},
"MD077": {
"$ref": "#/$defs/MD077"
},
"MD078": {
"$ref": "#/$defs/MD078"
},
"MD079": {
"$ref": "#/$defs/MD079"
},
"MD080": {
"$ref": "#/$defs/MD080"
},
"MD081": {
"$ref": "#/$defs/MD081"
},
"MD082": {
"$ref": "#/$defs/MD082"
},
"MD083": {
"$ref": "#/$defs/MD083"
},
"MD084": {
"$ref": "#/$defs/MD084"
},
"MD085": {
"$ref": "#/$defs/MD085"
},
"MD086": {
"$ref": "#/$defs/MD086"
},
"MD087": {
"$ref": "#/$defs/MD087"
},
"MD088": {
"$ref": "#/$defs/MD088"
},
"MD089": {
"$ref": "#/$defs/MD089"
},
"MD090": {
"$ref": "#/$defs/MD090"
},
"MD091": {
"$ref": "#/$defs/MD091"
},
"MD092": {
"$ref": "#/$defs/MD092"
},
"MD093": {
"$ref": "#/$defs/MD093"
},
"MD094": {
"$ref": "#/$defs/MD094"
},
"MD095": {
"$ref": "#/$defs/MD095"
},
"MD096": {
"$ref": "#/$defs/MD096"
},
"blank-line-after-frontmatter": {
"$ref": "#/$defs/MD071"
},
"blanks-around-fences": {
"$ref": "#/$defs/MD031"
},
"blanks-around-headings": {
"$ref": "#/$defs/MD022"
},
"blanks-around-horizontal-rules": {
"$ref": "#/$defs/MD065"
},
"blanks-around-lists": {
"$ref": "#/$defs/MD032"
},
"blanks-around-tables": {
"$ref": "#/$defs/MD058"
},
"chunk-label-spaces": {
"$ref": "#/$defs/MD079"
},
"cjk-spacing": {
"$ref": "#/$defs/MD089"
},
"code-block-style": {
"$ref": "#/$defs/MD046"
},
"code-fence-style": {
"$ref": "#/$defs/MD048"
},
"commands-show-output": {
"$ref": "#/$defs/MD014"
},
"descriptive-link-text": {
"$ref": "#/$defs/MD059"
},
"emphasis-style": {
"$ref": "#/$defs/MD049"
},
"empty-footnote-definition": {
"$ref": "#/$defs/MD068"
},
"existing-relative-links": {
"$ref": "#/$defs/MD057"
},
"fenced-code-language": {
"$ref": "#/$defs/MD040"
},
"first-line-h1": {
"$ref": "#/$defs/MD041"
},
"first-line-heading": {
"$ref": "#/$defs/MD041"
},
"footnote-definition-order": {
"$ref": "#/$defs/MD067"
},
"footnote-validation": {
"$ref": "#/$defs/MD066"
},
"forbidden-terms": {
"$ref": "#/$defs/MD061"
},
"frontmatter-key-sort": {
"$ref": "#/$defs/MD072"
},
"heading-anchor-collision": {
"$ref": "#/$defs/MD080"
},
"heading-capitalization": {
"$ref": "#/$defs/MD063"
},
"heading-increment": {
"$ref": "#/$defs/MD001"
},
"heading-start-left": {
"$ref": "#/$defs/MD023"
},
"heading-style": {
"$ref": "#/$defs/MD003"
},
"hr-style": {
"$ref": "#/$defs/MD035"
},
"invalid-encoding": {
"$ref": "#/$defs/MD094"
},
"invisible-characters": {
"$ref": "#/$defs/MD084"
},
"line-length": {
"$ref": "#/$defs/MD013"
},
"link-confusables": {
"$ref": "#/$defs/MD095"
},
"link-destination-whitespace": {
"$ref": "#/$defs/MD062"
},
"link-fragments": {
"$ref": "#/$defs/MD051"
},
"link-image-reference-definitions": {
"$ref": "#/$defs/MD053"
},
"link-image-style": {
"$ref": "#/$defs/MD054"
},
"list-continuation-indent": {
"$ref": "#/$defs/MD077"
},
"list-indent": {
"$ref": "#/$defs/MD005"
},
"list-item-spacing": {
"$ref": "#/$defs/MD076"
},
"list-marker-space": {
"$ref": "#/$defs/MD030"
},
"merge-conflict": {
"$ref": "#/$defs/MD092"
},
"missing-chunk-labels": {
"$ref": "#/$defs/MD078"
},
"mkdocs-nav": {
"$ref": "#/$defs/MD074"
},
"mojibake": {
"$ref": "#/$defs/MD083"
},
"nested-code-fence": {
"$ref": "#/$defs/MD070"
},
"no-alt-text": {
"$ref": "#/$defs/MD045"
},
"no-bare-urls": {
"$ref": "#/$defs/MD034"
},
"no-blanks-blockquote": {
"$ref": "#/$defs/MD028"
},
"no-duplicate-heading": {
"$ref": "#/$defs/MD024"
},
"no-duplicate-list-markers": {
"$ref": "#/$defs/MD069"
},
"no-emphasis-as-heading": {
"$ref": "#/$defs/MD036"
},
"no-empty-links": {
"$ref": "#/$defs/MD042"
},
"no-empty-sections": {
"$ref": "#/$defs/MD082"
},
"no-excessive-emphasis": {
"$ref": "#/$defs/MD081"
},
"no-formatting-in-headings": {
"$ref": "#/$defs/MD093"
},
"no-hard-tabs": {
"$ref": "#/$defs/MD010"
},
"no-hr-before-heading": {
"$ref": "#/$defs/MD090"
},
"no-inline-html": {
"$ref": "#/$defs/MD033"
},
"no-markdown-in-html": {
"$ref": "#/$defs/MD091"
},
"no-missing-space-atx": {
"$ref": "#/$defs/MD018"
},
"no-missing-space-closed-atx": {
"$ref": "#/$defs/MD020"
},
"no-multiple-blanks": {
"$ref": "#/$defs/MD012"
},
"no-multiple-consecutive-spaces": {
"$ref": "#/$defs/MD064"
},
"no-multiple-space-atx": {
"$ref": "#/$defs/MD019"
},
"no-multiple-space-blockquote": {
"$ref": "#/$defs/MD027"
},
"no-multiple-space-closed-atx": {
"$ref": "#/$defs/MD021"
},
"no-reversed-links": {
"$ref": "#/$defs/MD011"
},
"no-space-in-code": {
"$ref": "#/$defs/MD038"
},
"no-space-in-emphasis": {
"$ref": "#/$defs/MD037"
},
"no-space-in-link-destination": {
"$ref": "#/$defs/MD062"
},
"no-space-in-links": {
"$ref": "#/$defs/MD039"
},
"no-trailing-punctuation": {
"$ref": "#/$defs/MD026"
},
"no-trailing-spaces": {
"$ref": "#/$defs/MD009"
},
"no-unclosed-comments": {
"$ref": "#/$defs/MD086"
},
"ol-prefix": {
"$ref": "#/$defs/MD029"
},
"orphaned-table-rows": {
"$ref": "#/$defs/MD075"
},
"paragraph-continuation-indent": {
"$ref": "#/$defs/MD085"
},
"proper-names": {
"$ref": "#/$defs/MD044"
},
"quotes-dashes": {
"$ref": "#/$defs/MD088"
},
"reference-links-images": {
"$ref": "#/$defs/MD052"
},
"required-headings": {
"$ref": "#/$defs/MD043"
},
"single-h1": {
"$ref": "#/$defs/MD025"
},
"single-title": {
"$ref": "#/$defs/MD025"
},
"single-trailing-newline": {
"$ref": "#/$defs/MD047"
},
"strong-style": {
"$ref": "#/$defs/MD050"
},
"table-cell-alignment": {
"$ref": "#/$defs/MD060"
},
"table-column-count": {
"$ref": "#/$defs/MD056"
},
"table-column-style": {
"$ref": "#/$defs/MD060"
},
"table-format": {
"$ref": "#/$defs/MD060"
},
"table-pipe-style": {
"$ref": "#/$defs/MD055"
},
"table-sort": {
"$ref": "#/$defs/MD096"
},
"toc-validation": {
"$ref": "#/$defs/MD073"
},
"ul-indent": {
"$ref": "#/$defs/MD007"
},
"ul-style": {
"$ref": "#/$defs/MD004"
},
"unused-disable-comment": {
"$ref": "#/$defs/MD087"
}
},
"additionalProperties": {
"$ref": "#/$defs/RuleConfig"
}
}
},
"additionalProperties": {
"$ref": "#/$defs/RuleConfig"
},
"$defs": {
"GlobalConfig": {
"description": "Global configuration options",
"type": "object",
"properties": {
"enable": {
"description": "Enabled rules",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"disable": {
"description": "Disabled rules",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"exclude": {
"description": "Files to exclude. Glob patterns, relative to the project root; a\nleading `~/` expands to the home directory and absolute paths are\nmatched as written.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"include": {
"description": "Files to include. Glob patterns, relative to the project root; a\nleading `~/` expands to the home directory and absolute paths are\nmatched as written.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"respect-gitignore": {
"description": "Respect .gitignore, .ignore and git exclude files when scanning\ndirectories. .markdownlintignore applies regardless, and explicitly\nnamed files bypass both.",
"type": "boolean",
"default": true
},
"line-length": {
"description": "Global line length setting (used by MD013 and other rules if not overridden)",
"$ref": "#/$defs/LineLength",
"default": 80
},
"output-format": {
"description": "Output format for linting results (e.g., \"text\", \"json\", \"pylint\", etc.)",
"type": [
"string",
"null"
]
},
"fixable": {
"description": "Rules that are allowed to be fixed when --fix is used\nIf specified, only these rules will be fixed",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"unfixable": {
"description": "Rules that should never be fixed, even when --fix is used\nTakes precedence over fixable",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"flavor": {
"description": "Markdown flavor/dialect to use (mkdocs, gfm, commonmark, etc.)\nWhen set, adjusts parsing and validation rules for that specific Markdown variant",
"$ref": "#/$defs/MarkdownFlavor",
"default": "standard"
},
"force-exclude": {
"description": "\\[DEPRECATED\\] Whether to enforce exclude patterns for explicitly passed paths.\nThis option is deprecated as of v0.0.156 and has no effect.\nExclude patterns are now always respected, even for explicitly provided files.\nThis prevents duplication between rumdl config and tool configs like pre-commit.",
"type": "boolean",
"deprecated": true,
"default": false
},
"cache-dir": {
"description": "Directory to store cache files (default: .rumdl_cache).\nA leading `~/` expands to the home directory; a relative path resolves\nagainst the project root.\nCan also be set via --cache-dir CLI flag or RUMDL_CACHE_DIR environment variable",
"type": [
"string",
"null"
]
},
"cache": {
"description": "Whether caching is enabled (default: true)\nCan also be disabled via --no-cache CLI flag",
"type": "boolean",
"default": true
},
"extend-enable": {
"description": "Additional rules to enable on top of the base set (additive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"extend-disable": {
"description": "Additional rules to disable on top of the base set (additive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"editorconfig": {
"description": "Whether to read settings from `.editorconfig` files (default: false).\nWhen enabled, the `.editorconfig` properties that map onto rumdl\nsettings fill in anything no rumdl config sets, resolved per file so\nsection globs and nested `.editorconfig` files apply as written.",
"type": "boolean",
"default": false
}
}
},
"LineLength": {
"description": "A line length value that can be 0 (meaning no limit) or a positive value (≥1)\n\nMany configuration values for line length need to support both:\n- 0: Special value meaning \"no line length limit\"\n- ≥1: Actual line length limit\n\nThis type enforces those constraints at deserialization time.",
"type": [
"integer",
"null"
],
"format": "uint",
"minimum": 0
},
"MarkdownFlavor": {
"description": "Markdown flavor/dialect. Accepts: standard, gfm, mkdocs, mdx, pandoc, quarto, obsidian, kramdown, azure_devops, myst, hugo, mdg, gh-aw (preview). Aliases: commonmark/github map to standard, qmd/rmd/rmarkdown map to quarto, jekyll maps to kramdown, azure/ado map to azure_devops, mystmd maps to myst, goldmark maps to hugo, markdown_with_gherkin maps to mdg.",
"type": "string",
"enum": [
"standard",
"gfm",
"github",
"commonmark",
"mkdocs",
"mdx",
"pandoc",
"quarto",
"qmd",
"rmd",
"rmarkdown",
"obsidian",
"kramdown",
"jekyll",
"azure_devops",
"azure",
"ado",
"myst",
"mystmd",
"hugo",
"goldmark",
"mdg",
"markdown_with_gherkin",
"gh-aw"
]
},
"CodeBlockToolsConfig": {
"description": "Master configuration for code block tools.\n\nThis is disabled by default for safety - users must explicitly enable it.",
"type": "object",
"properties": {
"enabled": {
"description": "Master switch (default: false)",
"type": "boolean",
"default": false
},
"normalize-language": {
"description": "Language normalization strategy",
"$ref": "#/$defs/NormalizeLanguage",
"default": "linguist"
},
"on-error": {
"description": "Global error handling strategy",
"$ref": "#/$defs/OnError",
"default": "fail"
},
"on-missing-language-definition": {
"description": "Behavior when a recognized language has no tools configured in either mode.",
"$ref": "#/$defs/OnMissing",
"default": "ignore"
},
"on-missing-tool-binary": {
"description": "Behavior when a configured tool's binary is absent from the allowed lookup locations.\nDefaults to `warn`: the tools rumdl drives are installed separately from\nrumdl, so an absent one is common enough that silence about it is a trap.",
"$ref": "#/$defs/OnMissing",
"default": "warn"
},
"binary-preferences": {
"description": "Select already-installed project/PATH executables per underlying binary.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/BinaryPreference"
},
"default": {}
},
"tool-version-definition": {
"description": "Optional project metadata source for external tool version verification.",
"anyOf": [
{
"$ref": "#/$defs/ToolVersionDefinition"
},
{
"type": "null"
}
]
},
"on-tool-version-mismatch": {
"description": "Policy for mismatched or unresolved external tool versions.\nDefaults to `warn` and runs the tool; `fail` skips only that tool.\nInactive unless a tool-version-definition is configured.",
"$ref": "#/$defs/OnMissing",
"default": "warn"
},
"on-missing-language-tag": {
"description": "Policy for unlabeled fenced code blocks.",
"$ref": "#/$defs/OnMissing",
"default": "ignore"
},
"on-unknown-language-tag": {
"description": "Policy for unknown tags. When omitted, inherits on-missing-language-definition.",
"anyOf": [
{
"$ref": "#/$defs/OnMissing"
},
{
"type": "null"
}
]
},
"on-missing-mode-definition": {
"description": "Policy for a configured language missing tools for the active mode.",
"$ref": "#/$defs/OnMissing",
"default": "ignore"
},
"on-no-tools-run": {
"description": "Invocation-level policy when no tool or valid cached tool check was used.",
"$ref": "#/$defs/OnMissing",
"default": "ignore"
},
"timeout": {
"description": "Timeout per tool execution in milliseconds (default: 30000)",
"type": "integer",
"minimum": 0,
"default": 30000
},
"languages": {
"description": "Per-language tool configuration",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/LanguageToolConfig"
},
"default": {}
},
"language-aliases": {
"description": "User-defined language aliases (override built-in resolution)\nExample: { \"py\": \"python\", \"bash\": \"shell\" }",
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {}
},
"tools": {
"description": "Custom tool definitions (override built-ins)",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/ToolDefinition"
},
"default": {}
}
}
},
"NormalizeLanguage": {
"description": "Language normalization strategy.",
"oneOf": [
{
"description": "Resolve language aliases using GitHub Linguist data (e.g., \"py\" -> \"python\")",
"type": "string",
"const": "linguist"
},
{
"description": "Use the language tag exactly as written in the code block",
"type": "string",
"const": "exact"
}
]
},
"OnError": {
"description": "Error handling strategy for tool execution failures.",
"oneOf": [
{
"description": "Fail the lint/format operation (propagate error)",
"type": "string",
"const": "fail"
},
{
"description": "Continue with the next tool without a warning",
"type": "string",
"const": "skip"
},
{
"description": "Log a warning but continue processing",
"type": "string",
"const": "warn"
}
]
},
"OnMissing": {
"description": "Behavior when a configured coverage or availability condition is unmet.",
"oneOf": [
{
"description": "Silently skip and continue processing",
"type": "string",
"const": "ignore"
},
{
"description": "Emit one configuration warning per condition, then continue.\n`--deny-config-warnings` makes the warning fatal.",
"type": "string",
"const": "warn"
},
{
"description": "Report an error and continue; invocation conditions use exit code 2.",
"type": "string",
"const": "fail"
},
{
"description": "Stop immediately on the first occurrence, exit non-zero",
"type": "string",
"const": "fail-fast"
}
]
},
"BinaryPreference": {
"description": "Preference for resolving an external executable. Explicit paths bypass this.",
"oneOf": [
{
"description": "Prefer the project's virtual environment or node_modules, then PATH.",
"type": "string",
"const": "project"
},
{
"description": "Prefer PATH, then project-local installations.",
"type": "string",
"const": "system"
},
{
"description": "Require a project-local installation.",
"type": "string",
"const": "only-project"
},
{
"description": "Preserve PATH-only lookup.",
"type": "string",
"const": "only-system"
}
]
},
"ToolVersionDefinition": {
"description": "Supported authoritative sources for external tool versions.",
"oneOf": [
{
"description": "Select the nearest metadata file, preferring resolved versions and hook pins.",
"type": "string",
"const": "auto"
},
{
"description": "Exact resolved Python package versions in the nearest project lockfile.",
"type": "string",
"const": "uv.lock"
},
{
"description": "Declared Python dependency and tool version constraints.",
"type": "string",
"const": "pyproject.toml"
},
{
"description": "Version-like revisions of supported official pre-commit hook repositories.",
"type": "string",
"const": ".pre-commit-config.yaml"
},
{
"description": "Version-like revisions in the alternate pre-commit YAML filename.",
"type": "string",
"const": ".pre-commit-config.yml"
},
{
"description": "Version-like revisions of supported official prek hook repositories.",
"type": "string",
"const": "prek.toml"
}
]
},
"LanguageToolConfig": {
"description": "Per-language tool configuration.",
"type": "object",
"properties": {
"enabled": {
"description": "Whether code block tools are enabled for this language (default: true).\nSet to false to acknowledge a language without configuring tools.\nThis satisfies strict mode (on-missing-language-definition) checks.",
"type": "boolean",
"default": true
},
"lint": {
"description": "Tools to run in lint mode (rumdl check)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"format": {
"description": "Tools to run in format mode (rumdl check --fix / rumdl fmt)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"format-mode": {
"description": "How the `format` list is applied: as fallbacks (default) or as a pipeline",
"$ref": "#/$defs/FormatMode",
"default": "fallback"
},
"on-error": {
"description": "Override global on-error setting for this language",
"anyOf": [
{
"$ref": "#/$defs/OnError"
},
{
"type": "null"
}
],
"default": null
}
}
},
"FormatMode": {
"description": "How a language's `format` list is applied to a code block.",
"oneOf": [
{
"description": "Try the formatters in order; the first one that succeeds supplies the\nblock, even when it changes nothing",
"type": "string",
"const": "fallback"
},
{
"description": "Run every formatter in order, each on the output of the last one that\nsucceeded, and replace the block with the final result",
"type": "string",
"const": "pipeline"
}
]
},
"ToolDefinition": {
"description": "Definition of an external tool.\n\nThis describes how to invoke a tool and how it communicates.",
"type": "object",
"properties": {
"command": {
"description": "Command to run (first element is the binary, rest are arguments)",
"type": "array",
"items": {
"type": "string"
}
},
"stdin": {
"description": "Whether the tool reads from stdin (default: true)",
"type": "boolean",
"default": true
},
"stdout": {
"description": "Whether the tool writes to stdout (default: true)",
"type": "boolean",
"default": true
},
"lint-args": {
"description": "Additional arguments for lint mode (appended to command)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"format-args": {
"description": "Additional arguments for format mode (appended to command)",
"type": "array",
"items": {
"type": "string"
},
"default": []
}
},
"required": [
"command"
]
},
"RuleConfig": {
"description": "Represents a rule-specific configuration",
"type": "object",
"properties": {
"severity": {
"description": "Severity override for this rule (Error, Warning, or Info)",
"anyOf": [
{
"$ref": "#/$defs/Severity"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
},
"additionalProperties": true
},
"Severity": {
"description": "Severity of the findings a rule reports: `error`, `warning` or `info`.\nMatched case-insensitively.",
"type": "string",
"pattern": "^(?:[Ee][Rr][Rr][Oo][Rr]|[Ww][Aa][Rr][Nn][Ii][Nn][Gg]|[Ii][Nn][Ff][Oo])$"
},
"MD001": {
"description": "Heading levels should only increment by one level at a time",
"type": "object",
"properties": {
"front-matter-title": {
"description": "Whether a title field in front matter counts as an implicit level-1 heading",
"type": "boolean",
"default": true
},
"front_matter_title": {
"description": "Whether a title field in front matter counts as an implicit level-1 heading",
"type": "boolean",
"default": true
},
"front-matter-title-pattern": {
"description": "Regex matching the front matter line that holds the title. When set, it replaces\nthe default `title:` lookup, so a document keying its title differently still\ngets the implicit level-1 heading."
},
"front_matter_title_pattern": {
"description": "Regex matching the front matter line that holds the title. When set, it replaces\nthe default `title:` lookup, so a document keying its title differently still\ngets the implicit level-1 heading."
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD003": {
"description": "Heading style",
"type": "object",
"properties": {
"style": {
"description": "The heading style to enforce (default: \"consistent\") One of `atx`, `atx-closed`, `setext1`, `setext2`, `consistent`, `setext-with-atx`, `setext-with-atx-closed`.",
"type": "string",
"default": "consistent"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD004": {
"description": "Use consistent style for unordered list markers",
"type": "object",
"properties": {
"style": {
"description": "The style for unordered list markers One of `asterisk`, `plus`, `dash`, `consistent`, `sublist`.",
"type": "string",
"default": "consistent"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD005": {
"description": "List indentation should be consistent",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD007": {
"description": "Unordered list indentation",
"type": "object",
"properties": {
"indent": {
"description": "Spaces of indentation per nesting level for nested unordered lists (default: 2).",
"type": "integer",
"default": 2,
"minimum": 0,
"maximum": 255
},
"start-indent": {
"description": "Number of spaces for first level indent when start_indented is true (default: 2)",
"type": "integer",
"default": 2,
"minimum": 0,
"maximum": 255
},
"start_indent": {
"description": "Number of spaces for first level indent when start_indented is true (default: 2)",
"type": "integer",
"default": 2,
"minimum": 0,
"maximum": 255
},
"start-indented": {
"description": "Allow first level lists to start indented (default: false)",
"type": "boolean",
"default": false
},
"start_indented": {
"description": "Allow first level lists to start indented (default: false)",
"type": "boolean",
"default": false
},
"style": {
"description": "Indentation style: text-aligned (default) or fixed (markdownlint compatible) One of `text-aligned`, `fixed`.",
"default": "text-aligned",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD009": {
"description": "Trailing spaces should be removed",
"type": "object",
"properties": {
"br-spaces": {
"description": "Number of trailing spaces kept as a hard line break (default: 2).\nA value below 2 turns the exception off and flags every trailing space.",
"type": "integer",
"default": 2,
"minimum": 0
},
"br_spaces": {
"description": "Number of trailing spaces kept as a hard line break (default: 2).\nA value below 2 turns the exception off and flags every trailing space.",
"type": "integer",
"default": 2,
"minimum": 0
},
"list-item-empty-lines": {
"description": "Allow trailing spaces in empty list item lines (default: false)",
"type": "boolean",
"default": false
},
"list_item_empty_lines": {
"description": "Allow trailing spaces in empty list item lines (default: false)",
"type": "boolean",
"default": false
},
"strict": {
"description": "Strict mode - also flag a line-break run where it renders no `
` (default: false)",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD010": {
"description": "No tabs",
"type": "object",
"properties": {
"code-blocks": {
"description": "Check for hard tabs inside code blocks (default: false).\nWhen false, tabs inside fenced and indented code blocks are skipped.",
"type": "boolean",
"default": false
},
"code_blocks": {
"description": "Check for hard tabs inside code blocks (default: false).\nWhen false, tabs inside fenced and indented code blocks are skipped.",
"type": "boolean",
"default": false
},
"ignore-code-languages": {
"description": "Fence languages whose tabs are never reported (default: empty).\nMatched case-insensitively against the first word of the info string.\nOnly has an effect when `code-blocks` is true, and an indented code block\nhas no info string, so it can never match.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignore_code_languages": {
"description": "Fence languages whose tabs are never reported (default: empty).\nMatched case-insensitively against the first word of the info string.\nOnly has an effect when `code-blocks` is true, and an indented code block\nhas no info string, so it can never match.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"spaces-per-tab": {
"description": "Number of spaces per tab (default: 4)",
"type": "integer",
"default": 4,
"minimum": 0
},
"spaces_per_tab": {
"description": "Number of spaces per tab (default: 4)",
"type": "integer",
"default": 4,
"minimum": 0
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD011": {
"description": "Reversed link syntax",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD012": {
"description": "Multiple consecutive blank lines",
"type": "object",
"properties": {
"maximum": {
"description": "Maximum number of consecutive blank lines allowed within the document (default: 1)\n\nThis setting controls blank lines within the document content.\nBlank lines at EOF are always enforced to be 0 (following POSIX/Prettier standards).",
"type": "integer",
"default": 1,
"minimum": 0
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD013": {
"description": "Line length should not be excessive",
"type": "object",
"properties": {
"abbreviations": {
"description": "Custom abbreviations for sentence-per-line mode\nPeriods are optional - both \"Dr\" and \"Dr.\" work the same\nInherited from global config, can be overridden per-rule\nCustom abbreviations are always added to the built-in defaults",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"atomic-spans": {
"description": "Whether to hold emphasis/strong/strikethrough and code spans atomic during reflow.\nWhen true (default), these spans are treated as atomic units.\nWhen false, they can be wrapped word-by-word like normal text.",
"type": "boolean",
"default": true
},
"atomic_spans": {
"description": "Whether to hold emphasis/strong/strikethrough and code spans atomic during reflow.\nWhen true (default), these spans are treated as atomic units.\nWhen false, they can be wrapped word-by-word like normal text.",
"type": "boolean",
"default": true
},
"blockquotes": {
"description": "Check blockquote content for line length (default: true)\nWhen false, blockquote lines are not checked for line length.\nWhen paragraphs = false, blockquote content is also skipped\nsince blockquote content is paragraph text.",
"type": "boolean",
"default": true
},
"bracket-display-math": {
"description": "Treat standalone TeX `\\[ ... \\]` blocks as display math. Off by default\nbecause escaped brackets are ordinary Markdown in CommonMark.",
"type": "boolean",
"default": false
},
"bracket_display_math": {
"description": "Treat standalone TeX `\\[ ... \\]` blocks as display math. Off by default\nbecause escaped brackets are ordinary Markdown in CommonMark.",
"type": "boolean",
"default": false
},
"break-words": {
"description": "Additional semantic break words, matched case-insensitively as whole words.\nThese extend the built-in English list in semantic-line-breaks mode.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"break_words": {
"description": "Additional semantic break words, matched case-insensitively as whole words.\nThese extend the built-in English list in semantic-line-breaks mode.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"cjk-soft-break": {
"description": "How reflow joins a soft line break between CJK characters (default:\n\"space\").\n\n\"space\" joins every soft break with a space. \"join\" leaves the space\nout when the characters on both sides of the break are Han, kana or CJK\npunctuation, for renderers that show nothing at such a break. Korean,\nmixed-script breaks and breaks next to markup keep the space, and spaces\nthe author wrote are never removed. One of `space`, `join`.",
"default": "space",
"type": "string"
},
"cjk_soft_break": {
"description": "How reflow joins a soft line break between CJK characters (default:\n\"space\").\n\n\"space\" joins every soft break with a space. \"join\" leaves the space\nout when the characters on both sides of the break are Han, kana or CJK\npunctuation, for renderers that show nothing at such a break. Korean,\nmixed-script breaks and breaks next to markup keep the space, and spaces\nthe author wrote are never removed. One of `space`, `join`.",
"default": "space",
"type": "string"
},
"code-block-line-length": {
"description": "Per-context maximum line length for code blocks (fenced or indented).\n\n`None` (unset) falls back to `line_length`. `Some(0)` means \"no limit\nfor code blocks\". Mirrors markdownlint's `code_block_line_length`."
},
"code_block_line_length": {
"description": "Per-context maximum line length for code blocks (fenced or indented).\n\n`None` (unset) falls back to `line_length`. `Some(0)` means \"no limit\nfor code blocks\". Mirrors markdownlint's `code_block_line_length`."
},
"code-blocks": {
"description": "Check code blocks for line length (default: true)",
"type": "boolean",
"default": true
},
"code_blocks": {
"description": "Check code blocks for line length (default: true)",
"type": "boolean",
"default": true
},
"code-spans": {
"description": "Check lines whose length comes from an inline code span (default: true).\n\nInline code spans (`` `like this` ``) cannot be wrapped, so reflow cannot\nshorten a line whose excess length is one of them. When `false`, a line is\nnot reported if it would fit within the limit once its inline code spans are\nexcluded - useful with `reflow` so an otherwise-clean file is not failed by\nan unbreakable code incantation.",
"type": "boolean",
"default": true
},
"code_spans": {
"description": "Check lines whose length comes from an inline code span (default: true).\n\nInline code spans (`` `like this` ``) cannot be wrapped, so reflow cannot\nshorten a line whose excess length is one of them. When `false`, a line is\nnot reported if it would fit within the limit once its inline code spans are\nexcluded - useful with `reflow` so an otherwise-clean file is not failed by\nan unbreakable code incantation.",
"type": "boolean",
"default": true
},
"frontmatter": {
"description": "Check YAML and TOML front matter for line length (default: false).\n\nFront matter is not Markdown, so it is skipped unless this is set. When\n`true`, lines in a `---` delimited YAML or `+++` delimited TOML block are\nmeasured against `line-length`. With `reflow`, long single-line YAML\nscalars, TOML basic strings and TOML arrays are also wrapped where that\nleaves the data unchanged; anything else is only reported. JSON front\nmatter is not checked. `reflow-mode` does not apply to front matter:\nvalues are always wrapped greedily to `line-length`.",
"type": "boolean",
"default": false
},
"heading-line-length": {
"description": "Per-context maximum line length for headings.\n\n`None` (unset) falls back to `line_length`. `Some(0)` means \"no limit\nfor headings\". Mirrors markdownlint's `heading_line_length`."
},
"heading_line_length": {
"description": "Per-context maximum line length for headings.\n\n`None` (unset) falls back to `line_length`. `Some(0)` means \"no limit\nfor headings\". Mirrors markdownlint's `heading_line_length`."
},
"headings": {
"description": "Check headings for line length (default: true)",
"type": "boolean",
"default": true
},
"ignore-link-urls": {
"description": "Whether to ignore inline link/image URLs when measuring line length\n(default: true).\n\nIn non-strict mode, a line that exceeds the limit only because of the URL\nportion of an inline `[text](url)` / `` is forgiven (the URL\ncannot be shortened). Set to `false` to count those URLs toward the line\nlength so the line is flagged. Combine with `stern` to flag a link line\nthat has wrappable text around it while still exempting a line that is a\nsingle unbreakable token (a bare URL or a standalone link). Has no effect\nin `strict` mode, which already disables all forgiveness.\n\nAccepts the former `semantic-link-understanding` key as an alias.",
"type": "boolean",
"default": true
},
"ignore_link_urls": {
"description": "Whether to ignore inline link/image URLs when measuring line length\n(default: true).\n\nIn non-strict mode, a line that exceeds the limit only because of the URL\nportion of an inline `[text](url)` / `` is forgiven (the URL\ncannot be shortened). Set to `false` to count those URLs toward the line\nlength so the line is flagged. Combine with `stern` to flag a link line\nthat has wrappable text around it while still exempting a line that is a\nsingle unbreakable token (a bare URL or a standalone link). Has no effect\nin `strict` mode, which already disables all forgiveness.\n\nAccepts the former `semantic-link-understanding` key as an alias.",
"type": "boolean",
"default": true
},
"length-mode": {
"description": "Length calculation mode (default: \"chars\")\n- \"chars\": Count Unicode characters (emoji = 1, CJK = 1)\n- \"visual\": Count visual display width (emoji = 2, CJK = 2)\n- \"bytes\": Count raw bytes (not recommended for Unicode) One of `chars`, `visual`, `bytes`.",
"default": "visual",
"type": "string"
},
"length_mode": {
"description": "Length calculation mode (default: \"chars\")\n- \"chars\": Count Unicode characters (emoji = 1, CJK = 1)\n- \"visual\": Count visual display width (emoji = 2, CJK = 2)\n- \"bytes\": Count raw bytes (not recommended for Unicode) One of `chars`, `visual`, `bytes`.",
"default": "visual",
"type": "string"
},
"line-length": {
"description": "Maximum line length (default: 80, 0 means no limit)",
"type": [
"integer",
"null"
],
"default": 80,
"minimum": 0
},
"line_length": {
"description": "Maximum line length (default: 80, 0 means no limit)",
"type": [
"integer",
"null"
],
"default": 80,
"minimum": 0
},
"link-text-punctuation": {
"description": "Consider terminal link-label/image-alt punctuation as a sentence end. One of `ignore`, `trailing`.",
"default": "ignore",
"type": "string"
},
"link_text_punctuation": {
"description": "Consider terminal link-label/image-alt punctuation as a sentence end. One of `ignore`, `trailing`.",
"default": "ignore",
"type": "string"
},
"math-blocks": {
"description": "Check display-math blocks for line length (default: true)\n\nA `$$ ... $$` block is unbreakable in the same way a code block or a table\nrow is: LaTeX cannot be wrapped without changing the equation. When\n`false`, lines that hold nothing but display math are not reported. This\ncovers both a multi-line block and a whole line that is one complete\n`$$...$$` span, delimiter lines included, matching how `code-blocks =\nfalse` also exempts the surrounding fences.\n\nInline `$...$` math is not covered, for the same reason `code-spans` is a\nseparate key from `code-blocks`.",
"type": "boolean",
"default": true
},
"math_blocks": {
"description": "Check display-math blocks for line length (default: true)\n\nA `$$ ... $$` block is unbreakable in the same way a code block or a table\nrow is: LaTeX cannot be wrapped without changing the equation. When\n`false`, lines that hold nothing but display math are not reported. This\ncovers both a multi-line block and a whole line that is one complete\n`$$...$$` span, delimiter lines included, matching how `code-blocks =\nfalse` also exempts the surrounding fences.\n\nInline `$...$` math is not covered, for the same reason `code-spans` is a\nseparate key from `code-blocks`.",
"type": "boolean",
"default": true
},
"paragraphs": {
"description": "Check paragraph/text line length (default: true)\nWhen false, line length violations in regular text are not reported,\nbut reflow can still be used to format paragraphs.",
"type": "boolean",
"default": true
},
"reflow": {
"description": "Enable text reflow to wrap long lines (default: false)",
"type": "boolean",
"default": false
},
"reflow-break-code-spans": {
"description": "Whether reflow may wrap inside inline code spans when `atomic-spans` is\n`false` (default: true).\n\nSet to `false` to keep code spans whole while emphasis, strong and\nstrikethrough still wrap word by word. It has no effect while\n`atomic-spans` is `true`, which holds code whole already. Code spans\nwhose whitespace cannot be rewrapped losslessly, and code spans in\ncontainers or indented paragraphs, stay whole whatever this says.",
"type": "boolean",
"default": true
},
"reflow_break_code_spans": {
"description": "Whether reflow may wrap inside inline code spans when `atomic-spans` is\n`false` (default: true).\n\nSet to `false` to keep code spans whole while emphasis, strong and\nstrikethrough still wrap word by word. It has no effect while\n`atomic-spans` is `true`, which holds code whole already. Code spans\nwhose whitespace cannot be rewrapped losslessly, and code spans in\ncontainers or indented paragraphs, stay whole whatever this says.",
"type": "boolean",
"default": true
},
"reflow-break-link-text": {
"description": "Whether reflow may wrap long lines within the text of a link or image\n(default: false).\n\nOff, every link and image is one atomic token: reflow moves it whole or\nleaves the line long (a standalone link line is exempt from the check).\nOn, the bracketed text of `[text](url)` and its reference, shortcut and\nimage forms wraps at whitespace under the same rules `atomic-spans`\napplies to emphasis spans: only when the construct alone can never fit\na line (or freely, when `atomic-spans` is off). The `](...)` tail is\nnever split, and a link stays whole when splitting it would leave a\nline the check reports but reflow cannot fix (an oversized destination\nor a title pushed past the limit).",
"type": "boolean",
"default": false
},
"reflow_break_link_text": {
"description": "Whether reflow may wrap long lines within the text of a link or image\n(default: false).\n\nOff, every link and image is one atomic token: reflow moves it whole or\nleaves the line long (a standalone link line is exempt from the check).\nOn, the bracketed text of `[text](url)` and its reference, shortcut and\nimage forms wraps at whitespace under the same rules `atomic-spans`\napplies to emphasis spans: only when the construct alone can never fit\na line (or freely, when `atomic-spans` is off). The `](...)` tail is\nnever split, and a link stays whole when splitting it would leave a\nline the check reports but reflow cannot fix (an oversized destination\nor a title pushed past the limit).",
"type": "boolean",
"default": false
},
"reflow-length-exemptions": {
"description": "Whether reflow measures a line with the same length exemptions the check\napplies (default: false).\n\nOff, reflow measures the markdown as written, so a paragraph whose only\nexcess is an inline link destination is wrapped even though the check\nforgives it. On, reflow consults `ignore_link_urls` (an inline\n`[text](url)` costs `[text]`, `` costs `![alt]`) and\n`code_spans` (a code span costs nothing), and leaves such a paragraph\nalone. Reading the same options both sides read is what keeps the\nformatter from producing a line the check then reports.",
"type": "boolean",
"default": false
},
"reflow_length_exemptions": {
"description": "Whether reflow measures a line with the same length exemptions the check\napplies (default: false).\n\nOff, reflow measures the markdown as written, so a paragraph whose only\nexcess is an inline link destination is wrapped even though the check\nforgives it. On, reflow consults `ignore_link_urls` (an inline\n`[text](url)` costs `[text]`, `` costs `![alt]`) and\n`code_spans` (a code span costs nothing), and leaves such a paragraph\nalone. Reading the same options both sides read is what keeps the\nformatter from producing a line the check then reports.",
"type": "boolean",
"default": false
},
"reflow-mode": {
"description": "Reflow mode - how to handle reflowing (default: \"long-lines\") One of `default`, `normalize`, `sentence-per-line`, `sentence-pack`, `semantic-line-breaks`.",
"default": "default",
"type": "string"
},
"reflow_mode": {
"description": "Reflow mode - how to handle reflowing (default: \"long-lines\") One of `default`, `normalize`, `sentence-per-line`, `sentence-pack`, `semantic-line-breaks`.",
"default": "default",
"type": "string"
},
"reflow-sentence-double-space": {
"description": "Whether reflow keeps two spaces after the end of a sentence\n(default: false).\n\nOn, two or more spaces after sentence-ending punctuation, as MD064's\n`allow-sentence-double-space` recognizes it, stay two spaces where the\nwords share a line after reflow, and a line break that ends a sentence\nwith `.`, `!` or `?` becomes two spaces where reflow joins the lines.\nAny other run of spaces still becomes one. Off, every gap becomes one\nspace.",
"type": "boolean",
"default": false
},
"reflow_sentence_double_space": {
"description": "Whether reflow keeps two spaces after the end of a sentence\n(default: false).\n\nOn, two or more spaces after sentence-ending punctuation, as MD064's\n`allow-sentence-double-space` recognizes it, stay two spaces where the\nwords share a line after reflow, and a line break that ends a sentence\nwith `.`, `!` or `?` becomes two spaces where reflow joins the lines.\nAny other run of spaces still becomes one. Off, every gap becomes one\nspace.",
"type": "boolean",
"default": false
},
"require-sentence-capital": {
"description": "Whether to require uppercase after periods for sentence detection (default: true).\nWhen true, \"word. Capital\" and \"word. 2nd\" are sentence boundaries and\n\"word. lowercase\" is not: a digit opens a sentence, a lowercase letter continues one.\nWhen false, \"word. lowercase\" is also treated as a sentence boundary.\nA bare ! or ? always ends a sentence; inside a quotation (\"Is this a test?\" guide)\nit follows the same rule as a period.",
"type": "boolean",
"default": true
},
"require_sentence_capital": {
"description": "Whether to require uppercase after periods for sentence detection (default: true).\nWhen true, \"word. Capital\" and \"word. 2nd\" are sentence boundaries and\n\"word. lowercase\" is not: a digit opens a sentence, a lowercase letter continues one.\nWhen false, \"word. lowercase\" is also treated as a sentence boundary.\nA bare ! or ? always ends a sentence; inside a quotation (\"Is this a test?\" guide)\nit follows the same rule as a period.",
"type": "boolean",
"default": true
},
"stern": {
"description": "Stern mode - like strict, but lines that consist of a single\nnon-whitespace token (optionally prefixed by heading/blockquote\nmarkers) are still permitted. Mirrors markdownlint's `stern` option.\nDefault: false.",
"type": "boolean",
"default": false
},
"strict": {
"description": "Strict mode - disables exceptions for URLs, etc. (default: false)",
"type": "boolean",
"default": false
},
"tables": {
"description": "Check tables for line length (default: false)\n\nNote: markdownlint defaults to true, but rumdl defaults to false to avoid\nconflicts with MD060 (table formatting). Tables often require specific widths\nfor alignment, which can conflict with line length limits.",
"type": "boolean",
"default": false
},
"enable_reflow": {
"description": "Enable text reflow to wrap long lines (default: false)",
"type": "boolean",
"default": false
},
"front-matter": {
"description": "Check YAML and TOML front matter for line length (default: false).\n\nFront matter is not Markdown, so it is skipped unless this is set. When\n`true`, lines in a `---` delimited YAML or `+++` delimited TOML block are\nmeasured against `line-length`. With `reflow`, long single-line YAML\nscalars, TOML basic strings and TOML arrays are also wrapped where that\nleaves the data unchanged; anything else is only reported. JSON front\nmatter is not checked. `reflow-mode` does not apply to front matter:\nvalues are always wrapped greedily to `line-length`.",
"type": "boolean",
"default": false
},
"front_matter": {
"description": "Check YAML and TOML front matter for line length (default: false).\n\nFront matter is not Markdown, so it is skipped unless this is set. When\n`true`, lines in a `---` delimited YAML or `+++` delimited TOML block are\nmeasured against `line-length`. With `reflow`, long single-line YAML\nscalars, TOML basic strings and TOML arrays are also wrapped where that\nleaves the data unchanged; anything else is only reported. JSON front\nmatter is not checked. `reflow-mode` does not apply to front matter:\nvalues are always wrapped greedily to `line-length`.",
"type": "boolean",
"default": false
},
"semantic-link-understanding": {
"description": "Whether to ignore inline link/image URLs when measuring line length\n(default: true).\n\nIn non-strict mode, a line that exceeds the limit only because of the URL\nportion of an inline `[text](url)` / `` is forgiven (the URL\ncannot be shortened). Set to `false` to count those URLs toward the line\nlength so the line is flagged. Combine with `stern` to flag a link line\nthat has wrappable text around it while still exempting a line that is a\nsingle unbreakable token (a bare URL or a standalone link). Has no effect\nin `strict` mode, which already disables all forgiveness.\n\nAccepts the former `semantic-link-understanding` key as an alias.",
"type": "boolean",
"default": true
},
"semantic_link_understanding": {
"description": "Whether to ignore inline link/image URLs when measuring line length\n(default: true).\n\nIn non-strict mode, a line that exceeds the limit only because of the URL\nportion of an inline `[text](url)` / `` is forgiven (the URL\ncannot be shortened). Set to `false` to count those URLs toward the line\nlength so the line is flagged. Combine with `stern` to flag a link line\nthat has wrappable text around it while still exempting a line that is a\nsingle unbreakable token (a bare URL or a standalone link). Has no effect\nin `strict` mode, which already disables all forgiveness.\n\nAccepts the former `semantic-link-understanding` key as an alias.",
"type": "boolean",
"default": true
},
"strict-sentences": {
"description": "Whether to require uppercase after periods for sentence detection (default: true).\nWhen true, \"word. Capital\" and \"word. 2nd\" are sentence boundaries and\n\"word. lowercase\" is not: a digit opens a sentence, a lowercase letter continues one.\nWhen false, \"word. lowercase\" is also treated as a sentence boundary.\nA bare ! or ? always ends a sentence; inside a quotation (\"Is this a test?\" guide)\nit follows the same rule as a period.",
"type": "boolean",
"default": true
},
"strict_sentences": {
"description": "Whether to require uppercase after periods for sentence detection (default: true).\nWhen true, \"word. Capital\" and \"word. 2nd\" are sentence boundaries and\n\"word. lowercase\" is not: a digit opens a sentence, a lowercase letter continues one.\nWhen false, \"word. lowercase\" is also treated as a sentence boundary.\nA bare ! or ? always ends a sentence; inside a quotation (\"Is this a test?\" guide)\nit follows the same rule as a period.",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD014": {
"description": "Commands in code blocks should show output",
"type": "object",
"properties": {
"show-output": {
"description": "Whether commands should show output (default: true)",
"type": "boolean",
"default": true
},
"show_output": {
"description": "Whether commands should show output (default: true)",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD018": {
"description": "No space after hash in heading",
"type": "object",
"properties": {
"magiclink": {
"description": "Enable MagicLink support for issue/PR references like #123, #10\nWhen true, numeric patterns like `#10` at the start of a line are\nnot flagged as malformed headings, allowing PyMdown MagicLink syntax.\nDefault: false (all patterns are flagged)",
"type": "boolean",
"default": false
},
"tags": {
"description": "Recognize `#word` patterns as tags instead of malformed headings.\nWhen true, single-hash patterns like `#tag`, `#project/active` and\n`#3d_printing` are skipped. Following Obsidian, a tag must contain at\nleast one non-numerical character, so `#1984` is still flagged.\nWhen null/unset, defaults to true for Obsidian flavor and false\notherwise."
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD019": {
"description": "Multiple spaces after hash in heading",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD020": {
"description": "No space inside hashes on closed heading",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD021": {
"description": "Multiple spaces inside hashes on closed heading",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD022": {
"description": "Headings should be surrounded by blank lines",
"type": "object",
"properties": {
"allowed-at-start": {
"description": "Whether the first heading can be at the start of the document (default: true)",
"type": "boolean",
"default": true
},
"allowed_at_start": {
"description": "Whether the first heading can be at the start of the document (default: true)",
"type": "boolean",
"default": true
},
"lines-above": {
"description": "Number of blank lines required above headings (default: 1 for all levels)\nCan be a single integer (applies to all levels) or an array of 6 integers (one per level 1-6)"
},
"lines_above": {
"description": "Number of blank lines required above headings (default: 1 for all levels)\nCan be a single integer (applies to all levels) or an array of 6 integers (one per level 1-6)"
},
"lines-above-mode": {
"description": "Keep at least the configured spacing, or remove surplus blank lines above headings. One of `minimum`, `exact`.",
"type": "string",
"default": "minimum"
},
"lines_above_mode": {
"description": "Keep at least the configured spacing, or remove surplus blank lines above headings. One of `minimum`, `exact`.",
"type": "string",
"default": "minimum"
},
"lines-below": {
"description": "Number of blank lines required below headings (default: 1 for all levels)\nCan be a single integer (applies to all levels) or an array of 6 integers (one per level 1-6)"
},
"lines_below": {
"description": "Number of blank lines required below headings (default: 1 for all levels)\nCan be a single integer (applies to all levels) or an array of 6 integers (one per level 1-6)"
},
"nested-heading-lines-above": {
"description": "Blank lines between a heading and a deeper heading that directly follows it\nwith no body in between (default: unset, which uses `lines_above` and\n`lines_below`). Replaces both for that gap. A single integer or an array of 6\nintegers indexed by the deeper heading's level."
},
"nested_heading_lines_above": {
"description": "Blank lines between a heading and a deeper heading that directly follows it\nwith no body in between (default: unset, which uses `lines_above` and\n`lines_below`). Replaces both for that gap. A single integer or an array of 6\nintegers indexed by the deeper heading's level."
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD023": {
"description": "Headings must start at the beginning of the line",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD024": {
"description": "Multiple headings with the same content",
"type": "object",
"properties": {
"allow-different-link-anchors": {
"description": "Treat headings with different custom link anchors (e.g. `{#custom-id}`) as distinct (default: true)\n\nWhen true, headings that share the same visible text but carry different `{#id}` suffixes\nproduce distinct deduplication keys and are not flagged as duplicates. This matches the\neffective behavior of markdownlint, which compares raw heading text (retaining the suffix).\n\nSet to false to restore the previous behavior where `{#id}` suffixes are ignored during\ndeduplication.",
"type": "boolean",
"default": true
},
"allow_different_link_anchors": {
"description": "Treat headings with different custom link anchors (e.g. `{#custom-id}`) as distinct (default: true)\n\nWhen true, headings that share the same visible text but carry different `{#id}` suffixes\nproduce distinct deduplication keys and are not flagged as duplicates. This matches the\neffective behavior of markdownlint, which compares raw heading text (retaining the suffix).\n\nSet to false to restore the previous behavior where `{#id}` suffixes are ignored during\ndeduplication.",
"type": "boolean",
"default": true
},
"allow-different-nesting": {
"description": "Allow duplicate headings if they're nested at different levels (default: false)",
"type": "boolean",
"default": false
},
"allow_different_nesting": {
"description": "Allow duplicate headings if they're nested at different levels (default: false)",
"type": "boolean",
"default": false
},
"siblings-only": {
"description": "Only check siblings (same parent) for duplicates (default: true)\n\nUnlike markdownlint, rumdl defaults this to true to reduce false positives\nin common documentation patterns like CHANGELOGs.\n\nNote: This may cause duplicate anchor IDs when linking. Most renderers\n(GitHub, GitLab, etc.) handle this by adding numeric suffixes.",
"type": "boolean",
"default": true
},
"siblings_only": {
"description": "Only check siblings (same parent) for duplicates (default: true)\n\nUnlike markdownlint, rumdl defaults this to true to reduce false positives\nin common documentation patterns like CHANGELOGs.\n\nNote: This may cause duplicate anchor IDs when linking. Most renderers\n(GitHub, GitLab, etc.) handle this by adding numeric suffixes.",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD025": {
"description": "Multiple top-level headings in the same document",
"type": "object",
"properties": {
"allow-document-sections": {
"description": "Allows several sections of the document to each start a new level-1 heading.",
"type": "boolean",
"default": false
},
"allow_document_sections": {
"description": "Allows several sections of the document to each start a new level-1 heading.",
"type": "boolean",
"default": false
},
"allow-with-separators": {
"description": "Allows a second level-1 heading when the first is followed by a separator.",
"type": "boolean",
"default": false
},
"allow_with_separators": {
"description": "Allows a second level-1 heading when the first is followed by a separator.",
"type": "boolean",
"default": false
},
"front-matter-title": {
"description": "Regex matching front matter title lines, or an exact field-name shorthand\nsuch as `title`. An empty string disables front matter title detection.",
"type": "string",
"default": "title"
},
"front_matter_title": {
"description": "Regex matching front matter title lines, or an exact field-name shorthand\nsuch as `title`. An empty string disables front matter title detection.",
"type": "string",
"default": "title"
},
"level": {
"description": "Heading level that counts as the document title: `1` (default) through `6`.",
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 255
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD026": {
"description": "Trailing punctuation in heading",
"type": "object",
"properties": {
"punctuation": {
"description": "Characters a heading may not end with, one string of punctuation.",
"type": "string",
"default": ".,;:!"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD027": {
"description": "Multiple spaces after quote marker (>)",
"type": "object",
"properties": {
"list-items": {
"description": "When `true`, also flag blockquoted lines that introduce or continue a\nlist item. When `false` (default), such lines are skipped.",
"type": "boolean",
"default": false
},
"list_items": {
"description": "When `true`, also flag blockquoted lines that introduce or continue a\nlist item. When `false` (default), such lines are skipped.",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD028": {
"description": "Blank line inside blockquote",
"type": "object",
"properties": {
"fix": {
"description": "Enable auto-fix to merge blockquotes separated by a blank line.\nDefaults to false: filling the blank line with `>` merges two\nblockquotes into one, and the detection cannot verify whether the author\nmeant a single quote with an accidental gap or two distinct quotes.\n`check()` still warns either way; users opt into the merge with\n`fix = true`.",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD029": {
"description": "Ordered list marker value",
"type": "object",
"properties": {
"style": {
"description": "Style for ordered list numbering (default: \"one-or-ordered\" - matches markdownlint) One of `one`, `one-one`, `ordered`, `ordered0`, `zero`, `one-or-ordered`, `consistent`.",
"type": "string",
"default": "one-or-ordered"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD030": {
"description": "Spaces after list markers should be consistent",
"type": "object",
"properties": {
"ol-align-column": {
"description": "Align ordered list text to this column, measured from the start of the\nmarker (default: 0 = off; valid values are 3-6, with 4 the usual choice).\nNarrower markers are padded up to the column; markers too wide for it\noverflow with one space rather than pushing the rest of the list over.\nSee docs/md030.md.",
"type": "integer",
"default": 0,
"minimum": 0
},
"ol_align_column": {
"description": "Align ordered list text to this column, measured from the start of the\nmarker (default: 0 = off; valid values are 3-6, with 4 the usual choice).\nNarrower markers are padded up to the column; markers too wide for it\noverflow with one space rather than pushing the rest of the list over.\nSee docs/md030.md.",
"type": "integer",
"default": 0,
"minimum": 0
},
"ol-multi": {
"description": "Spaces for multi-line ordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ol_multi": {
"description": "Spaces for multi-line ordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ol-single": {
"description": "Spaces for single-line ordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ol_single": {
"description": "Spaces for single-line ordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ul-multi": {
"description": "Spaces for multi-line unordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ul_multi": {
"description": "Spaces for multi-line unordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ul-single": {
"description": "Spaces for single-line unordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"ul_single": {
"description": "Spaces for single-line unordered list items (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD031": {
"description": "Fenced code blocks should be surrounded by blank lines",
"type": "object",
"properties": {
"list-items": {
"description": "Whether to require blank lines around code blocks in lists",
"type": "boolean",
"default": true
},
"list_items": {
"description": "Whether to require blank lines around code blocks in lists",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD032": {
"description": "Lists should be surrounded by blank lines",
"type": "object",
"properties": {
"allow-lazy-continuation": {
"description": "Allow lazy continuation of list items (default: true)\n\nWhen true (default), text following a list item without indentation is treated\nas lazy continuation per CommonMark spec and no warning is generated.\n\nWhen false, warns when unindented text follows a list item without a blank line.\nThis helps catch cases where text was intended to be a separate paragraph.\n\nExample with `allow_lazy_continuation = false`:\n```markdown\n1. List item\nSome text. <- Warning: should have blank line or indentation\n```",
"type": "boolean",
"default": true
},
"allow_lazy_continuation": {
"description": "Allow lazy continuation of list items (default: true)\n\nWhen true (default), text following a list item without indentation is treated\nas lazy continuation per CommonMark spec and no warning is generated.\n\nWhen false, warns when unindented text follows a list item without a blank line.\nThis helps catch cases where text was intended to be a separate paragraph.\n\nExample with `allow_lazy_continuation = false`:\n```markdown\n1. List item\nSome text. <- Warning: should have blank line or indentation\n```",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD033": {
"description": "Inline HTML is not allowed",
"type": "object",
"properties": {
"allowed-elements": {
"description": "HTML elements allowed to stay in the document, e.g. `[\"details\", \"summary\"]`.\n\nAnything not listed here is reported, unless it is named in `allowed-inside`\nor filtered out by `disallowed`. Use `\"no-markdown-equivalent\"` to allow every\nelement Markdown has no syntax for. Also accepted as `allowed-elements`.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"allowed_elements": {
"description": "HTML elements allowed to stay in the document, e.g. `[\"details\", \"summary\"]`.\n\nAnything not listed here is reported, unless it is named in `allowed-inside`\nor filtered out by `disallowed`. Use `\"no-markdown-equivalent\"` to allow every\nelement Markdown has no syntax for. Also accepted as `allowed-elements`.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"allowed-inside": {
"description": "Elements whose contents are permitted whatever tags appear inside them.\n\nEverything from an element's opening tag through its matching closing tag is\nleft alone, the tags of the element itself included. An element that cannot\nhold content (`
`, `
`, and the other void elements) holds nothing, so\nnaming one here permits nothing; name it in `allowed` instead.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"allowed_inside": {
"description": "Elements whose contents are permitted whatever tags appear inside them.\n\nEverything from an element's opening tag through its matching closing tag is\nleft alone, the tags of the element itself included. An element that cannot\nhold content (`
`, `
`, and the other void elements) holds nothing, so\nnaming one here permits nothing; name it in `allowed` instead.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"br-style": {
"description": "Style for converting `
` tags to Markdown line breaks.\n- \"trailing-spaces\": Two spaces + newline (CommonMark standard, default)\n- \"backslash\": Backslash + newline (Pandoc/extended markdown) One of `trailing-spaces`, `backslash`.",
"default": "trailing-spaces",
"type": "string"
},
"br_style": {
"description": "Style for converting `
` tags to Markdown line breaks.\n- \"trailing-spaces\": Two spaces + newline (CommonMark standard, default)\n- \"backslash\": Backslash + newline (Pandoc/extended markdown) One of `trailing-spaces`, `backslash`.",
"default": "trailing-spaces",
"type": "string"
},
"disallowed-elements": {
"description": "List of HTML tags that are explicitly disallowed.\nWhen set, only these tags will trigger warnings (allowlist mode is disabled).\nUse `\"gfm\"` as a special value to use GFM's security-filtered tags.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"disallowed_elements": {
"description": "List of HTML tags that are explicitly disallowed.\nWhen set, only these tags will trigger warnings (allowlist mode is disabled).\nUse `\"gfm\"` as a special value to use GFM's security-filtered tags.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"drop-attributes": {
"description": "Extra attributes that may be dropped when `fix-mode = \"relaxed\"`.\nThese attributes are not representable in Markdown link/image syntax.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"target",
"rel",
"width",
"height",
"align",
"class",
"id",
"style"
]
},
"drop_attributes": {
"description": "Extra attributes that may be dropped when `fix-mode = \"relaxed\"`.\nThese attributes are not representable in Markdown link/image syntax.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"target",
"rel",
"width",
"height",
"align",
"class",
"id",
"style"
]
},
"fix": {
"description": "Enable auto-fix to convert simple HTML tags to Markdown equivalents.\nWhen enabled, tags like ``, ``, ``, `
`, `
` are converted.\nTags with attributes or complex nesting are not auto-fixed.\nDefault: false (opt-in like MD036)",
"type": "boolean",
"default": false
},
"fix-mode": {
"description": "Attribute handling mode for auto-fix.\n- conservative: current safe behavior (default)\n- relaxed: allow dropping configured attributes during conversion One of `conservative`, `relaxed`.",
"default": "conservative",
"type": "string"
},
"fix_mode": {
"description": "Attribute handling mode for auto-fix.\n- conservative: current safe behavior (default)\n- relaxed: allow dropping configured attributes during conversion One of `conservative`, `relaxed`.",
"default": "conservative",
"type": "string"
},
"strip-wrapper-elements": {
"description": "Wrapper elements that may be stripped when `fix-mode = \"relaxed\"`.\nWrapper stripping is applied only when the wrapper's inner content no\nlonger contains HTML tags.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"p"
]
},
"strip_wrapper_elements": {
"description": "Wrapper elements that may be stripped when `fix-mode = \"relaxed\"`.\nWrapper stripping is applied only when the wrapper's inner content no\nlonger contains HTML tags.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"p"
]
},
"table-allowed-elements": {
"description": "HTML elements explicitly permitted inside GFM table cells.\n\nMirrors markdownlint's `table_allowed_elements`. The semantics\ndistinguish three states:\n- `None` (unset): in-table tags fall back to the `allowed` list.\n- `Some(vec![])`: no tags are permitted inside table cells, even\n ones present in `allowed`.\n- `Some([...])`: only the listed tags are permitted inside table\n cells; `allowed` is ignored for in-table contexts.\n\nTags outside GFM tables are never affected by this option."
},
"table_allowed_elements": {
"description": "HTML elements explicitly permitted inside GFM table cells.\n\nMirrors markdownlint's `table_allowed_elements`. The semantics\ndistinguish three states:\n- `None` (unset): in-table tags fall back to the `allowed` list.\n- `Some(vec![])`: no tags are permitted inside table cells, even\n ones present in `allowed`.\n- `Some([...])`: only the listed tags are permitted inside table\n cells; `allowed` is ignored for in-table contexts.\n\nTags outside GFM tables are never affected by this option."
},
"allowed": {
"description": "HTML elements allowed to stay in the document, e.g. `[\"details\", \"summary\"]`.\n\nAnything not listed here is reported, unless it is named in `allowed-inside`\nor filtered out by `disallowed`. Use `\"no-markdown-equivalent\"` to allow every\nelement Markdown has no syntax for. Also accepted as `allowed-elements`.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"disallowed": {
"description": "List of HTML tags that are explicitly disallowed.\nWhen set, only these tags will trigger warnings (allowlist mode is disabled).\nUse `\"gfm\"` as a special value to use GFM's security-filtered tags.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"table-allowed": {
"description": "HTML elements explicitly permitted inside GFM table cells.\n\nMirrors markdownlint's `table_allowed_elements`. The semantics\ndistinguish three states:\n- `None` (unset): in-table tags fall back to the `allowed` list.\n- `Some(vec![])`: no tags are permitted inside table cells, even\n ones present in `allowed`.\n- `Some([...])`: only the listed tags are permitted inside table\n cells; `allowed` is ignored for in-table contexts.\n\nTags outside GFM tables are never affected by this option."
},
"table_allowed": {
"description": "HTML elements explicitly permitted inside GFM table cells.\n\nMirrors markdownlint's `table_allowed_elements`. The semantics\ndistinguish three states:\n- `None` (unset): in-table tags fall back to the `allowed` list.\n- `Some(vec![])`: no tags are permitted inside table cells, even\n ones present in `allowed`.\n- `Some([...])`: only the listed tags are permitted inside table\n cells; `allowed` is ignored for in-table contexts.\n\nTags outside GFM tables are never affected by this option."
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD034": {
"description": "No bare URLs - wrap URLs in angle brackets",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD035": {
"description": "Horizontal rule style",
"type": "object",
"properties": {
"style": {
"description": "The style for horizontal rules (default: \"consistent\")\nCan be \"---\", \"***\", \"___\", \"- - -\", \"* * *\", \"_ _ _\", or \"consistent\"",
"type": "string",
"default": "consistent"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD036": {
"description": "Emphasis should not be used instead of a heading",
"type": "object",
"properties": {
"fix": {
"description": "Enable auto-fix to convert emphasis-as-heading to real headings.\nDefaults to false: converting emphasis to a heading is a meaning change\nthe linter cannot verify (a standalone emphasized line may be a bold\nname, filename, or label rather than a heading), so `rumdl fmt` only\nrewrites when this is set to true. `check()` still warns either way.",
"type": "boolean",
"default": false
},
"heading-level": {
"description": "Heading level (1-6) to use when auto-fixing.\nDefault: 2 (## Heading)\nInvalid values (0 or >6) produce a config validation error.",
"type": "integer",
"default": 2,
"minimum": 0,
"maximum": 255
},
"heading_level": {
"description": "Heading level (1-6) to use when auto-fixing.\nDefault: 2 (## Heading)\nInvalid values (0 or >6) produce a config validation error.",
"type": "integer",
"default": 2,
"minimum": 0,
"maximum": 255
},
"heading-style": {
"description": "Heading style to use when auto-fixing.\nDefault: \"atx\" (## Heading) One of `atx`.",
"default": "atx",
"type": "string"
},
"heading_style": {
"description": "Heading style to use when auto-fixing.\nDefault: \"atx\" (## Heading) One of `atx`.",
"default": "atx",
"type": "string"
},
"punctuation": {
"description": "Punctuation characters that indicate emphasis is not being used as a heading.\nIf the emphasized text ends with one of these characters, it won't be flagged.\nDefault: \".,;:!?\" - common trailing punctuation indicates a phrase, not a heading\nSet to empty string to flag all emphasis-only lines",
"type": "string",
"default": ".,;:!?"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD037": {
"description": "Spaces inside emphasis markers",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD038": {
"description": "Spaces inside code span elements",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD039": {
"description": "Spaces inside link text",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD040": {
"description": "Code blocks should have a language specified",
"type": "object",
"properties": {
"allowed-languages": {
"description": "Only allow these languages (empty = allow all)\nUses Linguist canonical language names (case-insensitive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"allowed_languages": {
"description": "Only allow these languages (empty = allow all)\nUses Linguist canonical language names (case-insensitive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"custom-languages": {
"description": "Languages Linguist does not know that this project uses anyway\nMatched against fence labels case-insensitively",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"custom_languages": {
"description": "Languages Linguist does not know that this project uses anyway\nMatched against fence labels case-insensitively",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"disallowed-languages": {
"description": "Block these languages (ignored if allowed_languages is non-empty)\nUses Linguist canonical language names (case-insensitive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"disallowed_languages": {
"description": "Block these languages (ignored if allowed_languages is non-empty)\nUses Linguist canonical language names (case-insensitive)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"preferred-aliases": {
"description": "Override preferred label for specific languages\nKeys: Linguist canonical names (case-insensitive), Values: preferred alias",
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {}
},
"preferred_aliases": {
"description": "Override preferred label for specific languages\nKeys: Linguist canonical names (case-insensitive), Values: preferred alias",
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {}
},
"style": {
"description": "Language normalization style One of `disabled`, `consistent`.",
"default": "disabled",
"type": "string"
},
"unknown-language-action": {
"description": "Action for unknown language labels not in Linguist One of `ignore`, `warn`, `error`.",
"default": "ignore",
"type": "string"
},
"unknown_language_action": {
"description": "Action for unknown language labels not in Linguist One of `ignore`, `warn`, `error`.",
"default": "ignore",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD041": {
"description": "First line in file should be a top level heading",
"type": "object",
"properties": {
"allow-preamble": {
"description": "Allow content before the first heading (default: false)\nWhen enabled, the rule checks the level of the document's first top-level\nheading instead of requiring the document to open with one. A document with\nno top-level heading is not flagged.",
"type": "boolean",
"default": false
},
"allow_preamble": {
"description": "Allow content before the first heading (default: false)\nWhen enabled, the rule checks the level of the document's first top-level\nheading instead of requiring the document to open with one. A document with\nno top-level heading is not flagged.",
"type": "boolean",
"default": false
},
"fix": {
"description": "Enable auto-fix for MD041 (default: false)\nWhen enabled, `rumdl check --fix` will:\n- Rewrite headings to the correct level if the first content is a heading with wrong level\n- Move the first heading above preamble (blank lines, HTML comments) if safe",
"type": "boolean",
"default": false
},
"front-matter-title": {
"description": "Front matter title field to check (default: \"title\")\nSet to empty string to disable front matter title checking",
"type": "string",
"default": "title"
},
"front_matter_title": {
"description": "Front matter title field to check (default: \"title\")\nSet to empty string to disable front matter title checking",
"type": "string",
"default": "title"
},
"front-matter-title-pattern": {
"description": "Optional regex pattern for front matter title field (default: None)\nIf provided, checks for this pattern in front matter instead of \"title:\""
},
"front_matter_title_pattern": {
"description": "Optional regex pattern for front matter title field (default: None)\nIf provided, checks for this pattern in front matter instead of \"title:\""
},
"level": {
"description": "The required heading level (default: 1)",
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 255
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD042": {
"description": "No empty links",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD043": {
"description": "Required heading structure",
"type": "object",
"properties": {
"headings": {
"description": "Required heading patterns",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"match-case": {
"description": "Case-sensitive matching (default: false)",
"type": "boolean",
"default": false
},
"match_case": {
"description": "Case-sensitive matching (default: false)",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD044": {
"description": "Proper names should have the correct capitalization",
"type": "object",
"properties": {
"code-blocks": {
"description": "Check fenced and indented code blocks too. Off by default, because code\noften contains identifiers that intentionally differ from the prose spelling.",
"type": "boolean",
"default": false
},
"code_blocks": {
"description": "Check fenced and indented code blocks too. Off by default, because code\noften contains identifiers that intentionally differ from the prose spelling.",
"type": "boolean",
"default": false
},
"html-comments": {
"description": "Check the text inside HTML comments.",
"type": "boolean",
"default": true
},
"html_comments": {
"description": "Check the text inside HTML comments.",
"type": "boolean",
"default": true
},
"html-elements": {
"description": "Check the text inside HTML elements.",
"type": "boolean",
"default": true
},
"html_elements": {
"description": "Check the text inside HTML elements.",
"type": "boolean",
"default": true
},
"ignore-frontmatter-fields": {
"description": "Top-level frontmatter keys whose values are not checked. Matched\ncase-insensitively. `None` checks every field. A parent key excludes\nits whole subtree."
},
"ignore_frontmatter_fields": {
"description": "Top-level frontmatter keys whose values are not checked. Matched\ncase-insensitively. `None` checks every field. A parent key excludes\nits whole subtree."
},
"names": {
"description": "Names with the capitalization they should always have, e.g.\n`[\"JavaScript\", \"GitHub\", \"Node.js\"]`. Every other spelling of the same name\nin the document is reported.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"whole-words": {
"description": "Require configured names to occupy a whole prose token. In addition to\nUnicode letters and numbers, internal runs of `-` and `_` join the\nsurrounding identifier components unless parsed as Markdown emphasis.",
"type": "boolean",
"default": false
},
"whole_words": {
"description": "Require configured names to occupy a whole prose token. In addition to\nUnicode letters and numbers, internal runs of `-` and `_` join the\nsurrounding identifier components unless parsed as Markdown emphasis.",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD045": {
"description": "Images should have alternate text (alt text)",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD046": {
"description": "Code blocks should use a consistent style",
"type": "object",
"properties": {
"style": {
"description": "The style for code blocks (MD046) One of `consistent`, `indented`, `fenced`.",
"default": "consistent",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD047": {
"description": "Files should end with a single newline character",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD048": {
"description": "Code fence style should be consistent",
"type": "object",
"properties": {
"style": {
"description": "The style for code fence markers (MD048) One of `consistent`, `backtick`, `tilde`.",
"default": "consistent",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD049": {
"description": "Emphasis style should be consistent",
"type": "object",
"properties": {
"style": {
"description": "The style for emphasis (MD049) One of `consistent`, `asterisk`, `underscore`.",
"default": "consistent",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD050": {
"description": "Strong emphasis style should be consistent",
"type": "object",
"properties": {
"style": {
"description": "The style for strong emphasis (MD050) One of `consistent`, `asterisk`, `underscore`.",
"default": "consistent",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD051": {
"description": "Link fragments should reference valid headings",
"type": "object",
"properties": {
"anchor-style": {
"description": "Anchor generation style to match the target platform One of `github`, `kramdown-gfm`, `kramdown`, `python-markdown`.",
"default": "github",
"type": "string"
},
"anchor_style": {
"description": "Anchor generation style to match the target platform One of `github`, `kramdown-gfm`, `kramdown`, `python-markdown`.",
"default": "github",
"type": "string"
},
"check-frontmatter": {
"description": "Also check fragments in path-shaped frontmatter values.\n\nOff by default, because frontmatter has no syntax marking a value as a\nlink: a path-shaped value is only a guess at one. Static-site generators\nalso resolve frontmatter paths from the site root rather than the\ndocument's own directory, so checking them like body links reports\nworking paths as broken.\n\nEnable it for projects whose frontmatter links really are relative to\nthe document, and use `ignore-frontmatter-fields` for the keys that are\nnot.\n\nExample:\n```toml\n[MD051]\ncheck-frontmatter = true\nignore-frontmatter-fields = [\"image\", \"cover\"]\n```",
"type": "boolean",
"default": false
},
"check_frontmatter": {
"description": "Also check fragments in path-shaped frontmatter values.\n\nOff by default, because frontmatter has no syntax marking a value as a\nlink: a path-shaped value is only a guess at one. Static-site generators\nalso resolve frontmatter paths from the site root rather than the\ndocument's own directory, so checking them like body links reports\nworking paths as broken.\n\nEnable it for projects whose frontmatter links really are relative to\nthe document, and use `ignore-frontmatter-fields` for the keys that are\nnot.\n\nExample:\n```toml\n[MD051]\ncheck-frontmatter = true\nignore-frontmatter-fields = [\"image\", \"cover\"]\n```",
"type": "boolean",
"default": false
},
"html-comments": {
"description": "Also check the fragments of inline links written inside HTML comments.\n\nOff by default: a comment is not rendered, so a link in one is not a\nlink the reader can follow. A `#heading` link resolves against this\ndocument's headings and a `file.md#heading` link against the other\nfile's, as a link in the text does. A heading written inside a comment\nis never an anchor. Only inline links are read; images, autolinks,\nreference links and linter directive comments are not, and nothing\ninside a comment is ever rewritten.\n\nExample:\n```toml\n[MD051]\nhtml-comments = true\n```",
"type": "boolean",
"default": false
},
"html_comments": {
"description": "Also check the fragments of inline links written inside HTML comments.\n\nOff by default: a comment is not rendered, so a link in one is not a\nlink the reader can follow. A `#heading` link resolves against this\ndocument's headings and a `file.md#heading` link against the other\nfile's, as a link in the text does. A heading written inside a comment\nis never an anchor. Only inline links are read; images, autolinks,\nreference links and linter directive comments are not, and nothing\ninside a comment is ever rewritten.\n\nExample:\n```toml\n[MD051]\nhtml-comments = true\n```",
"type": "boolean",
"default": false
},
"ignore-case": {
"description": "Match link fragments against headings case-insensitively.\n\nrumdl defaults to `true` (permissive matching), which deviates from\nmarkdownlint's default of `false`. Set this to `false` for strict\nmarkdownlint parity.",
"type": "boolean",
"default": true
},
"ignore_case": {
"description": "Match link fragments against headings case-insensitively.\n\nrumdl defaults to `true` (permissive matching), which deviates from\nmarkdownlint's default of `false`. Set this to `false` for strict\nmarkdownlint parity.",
"type": "boolean",
"default": true
},
"ignore-frontmatter-fields": {
"description": "Top-level frontmatter keys whose values are not checked. Matched\ncase-insensitively. A parent key excludes its whole subtree. Applies\nonly when `check-frontmatter` is enabled.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignore_frontmatter_fields": {
"description": "Top-level frontmatter keys whose values are not checked. Matched\ncase-insensitively. A parent key excludes its whole subtree. Applies\nonly when `check-frontmatter` is enabled.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignored-pattern": {
"description": "Optional regex applied to the fragment text (without the leading `#`).\nFragments that match are skipped — useful for runtime-generated anchors\n(e.g., footnote IDs) that aren't visible to the linter."
},
"ignored_pattern": {
"description": "Optional regex applied to the fragment text (without the leading `#`).\nFragments that match are skipped — useful for runtime-generated anchors\n(e.g., footnote IDs) that aren't visible to the linter."
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD052": {
"description": "Reference links and images should use a reference that exists",
"type": "object",
"properties": {
"ignore": {
"description": "Additional reference names to ignore when checking for undefined references.\n\nDefault: [] (empty)\n\nUse this to specify project-specific type names, identifiers, or other\nbracketed text that should not be flagged as undefined references.\n\nExample:\n```toml\n[MD052]\nignore = [\"Vec\", \"HashMap\", \"Option\", \"Result\"]\n```\n\nThis performs case-insensitive matching (e.g., \"Vec\" matches `[vec]`, `[Vec]`, `[VEC]`).",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"shortcut-syntax": {
"description": "Whether to check shortcut reference syntax `[text]`.\n\nDefault: false (matches markdownlint behavior)\n\nWhen false (default), only full (`[text][ref]`) and collapsed (`[text][]`)\nreference syntax is checked. Shortcut syntax `[text]` is ambiguous because\nit could be a shortcut reference link OR just text in brackets.\n\nWhen true, shortcut syntax is also checked, which may produce false positives\nfor bracketed text that is not intended to be a reference link.",
"type": "boolean",
"default": false
},
"shortcut_syntax": {
"description": "Whether to check shortcut reference syntax `[text]`.\n\nDefault: false (matches markdownlint behavior)\n\nWhen false (default), only full (`[text][ref]`) and collapsed (`[text][]`)\nreference syntax is checked. Shortcut syntax `[text]` is ambiguous because\nit could be a shortcut reference link OR just text in brackets.\n\nWhen true, shortcut syntax is also checked, which may produce false positives\nfor bracketed text that is not intended to be a reference link.",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD053": {
"description": "Link and image reference definitions should be needed",
"type": "object",
"properties": {
"ignored-definitions": {
"description": "List of reference names to keep even if unused",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignored_definitions": {
"description": "List of reference names to keep even if unused",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD054": {
"description": "Link and image style should be consistent",
"type": "object",
"properties": {
"autolink": {
"description": "Allows bare URLs in angle brackets: ``.",
"type": "boolean",
"default": true
},
"collapsed": {
"description": "Allows collapsed references whose label matches the link text: `[text][]`.",
"type": "boolean",
"default": true
},
"full": {
"description": "Allows full references with a separate definition: `[text][label]`.",
"type": "boolean",
"default": true
},
"inline": {
"description": "Allows direct links and images: `[text](url)` and ``.",
"type": "boolean",
"default": true
},
"preferred-style": {
"description": "Ordered preference for the auto-fix target style. Accepts a scalar (one\nstyle) or a list (priority order). The default `auto` selects the\nbest-fitting style for the source. See `PreferredStyles` docs for the\nlist semantics, including `auto` as a wildcard fallback entry."
},
"preferred_style": {
"description": "Ordered preference for the auto-fix target style. Accepts a scalar (one\nstyle) or a list (priority order). The default `auto` selects the\nbest-fitting style for the source. See `PreferredStyles` docs for the\nlist semantics, including `auto` as a wildcard fallback entry."
},
"shortcut": {
"description": "Allows shortcut references, where the text is the label: `[text]`.",
"type": "boolean",
"default": true
},
"url-inline": {
"description": "Allows the URL as both text and destination: `[https://example.com](https://example.com)`.",
"type": "boolean",
"default": true
},
"url_inline": {
"description": "Allows the URL as both text and destination: `[https://example.com](https://example.com)`.",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD055": {
"description": "Table pipe style should be consistent",
"type": "object",
"properties": {
"style": {
"description": "Pipe style every row must use: `consistent` (the most common style in each\ntable), `leading-and-trailing`, `no-leading-or-trailing`, `trailing-only` or\n`leading-only`. Kebab-case and snake_case are both read.",
"type": "string",
"default": "consistent"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD056": {
"description": "Table column count should be consistent",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD057": {
"description": "Relative links should point to existing files",
"type": "object",
"properties": {
"absolute-links": {
"description": "How to handle absolute links (paths starting with /)\n- \"ignore\" (default): Skip validation for absolute links\n- \"warn\": Report a warning for absolute links\n- \"relative_to_docs\": Resolve relative to MkDocs docs_dir and validate\n- \"relative_to_roots\": Resolve relative to one or more configured root directories One of `ignore`, `warn`, `relative_to_docs`, `relative_to_roots`.",
"default": "ignore",
"type": "string"
},
"absolute_links": {
"description": "How to handle absolute links (paths starting with /)\n- \"ignore\" (default): Skip validation for absolute links\n- \"warn\": Report a warning for absolute links\n- \"relative_to_docs\": Resolve relative to MkDocs docs_dir and validate\n- \"relative_to_roots\": Resolve relative to one or more configured root directories One of `ignore`, `warn`, `relative_to_docs`, `relative_to_roots`.",
"default": "ignore",
"type": "string"
},
"check-frontmatter": {
"description": "Also check path-shaped values in the document's frontmatter.\n\nOff by default, because frontmatter has no syntax marking a value as a\nlink: a path-shaped value is only a guess at one. Static-site generators\nalso resolve frontmatter paths from the site root rather than the\ndocument's own directory, so checking them like body links reports\nworking paths as broken.\n\nEnable it for projects whose frontmatter paths really are relative to\nthe document, and use `ignore-frontmatter-fields` for the keys that are\nnot.\n\nExample:\n```toml\n[MD057]\ncheck-frontmatter = true\nignore-frontmatter-fields = [\"image\", \"cover\"]\n```",
"type": "boolean",
"default": false
},
"check_frontmatter": {
"description": "Also check path-shaped values in the document's frontmatter.\n\nOff by default, because frontmatter has no syntax marking a value as a\nlink: a path-shaped value is only a guess at one. Static-site generators\nalso resolve frontmatter paths from the site root rather than the\ndocument's own directory, so checking them like body links reports\nworking paths as broken.\n\nEnable it for projects whose frontmatter paths really are relative to\nthe document, and use `ignore-frontmatter-fields` for the keys that are\nnot.\n\nExample:\n```toml\n[MD057]\ncheck-frontmatter = true\nignore-frontmatter-fields = [\"image\", \"cover\"]\n```",
"type": "boolean",
"default": false
},
"compact-paths": {
"description": "Warn when relative links contain unnecessary path traversal.\nWhen enabled, `../sub_dir/file.md` from within `sub_dir/` warns\nand suggests the shorter equivalent `file.md`.",
"type": "boolean",
"default": false
},
"compact_paths": {
"description": "Warn when relative links contain unnecessary path traversal.\nWhen enabled, `../sub_dir/file.md` from within `sub_dir/` warns\nand suggests the shorter equivalent `file.md`.",
"type": "boolean",
"default": false
},
"html-comments": {
"description": "Also check inline links written inside HTML comments.\n\nOff by default: a comment is not rendered, so a link in one is not a\nlink the reader can follow. Enable it for projects that keep links in\ncomments to bring back later or to hand to another tool, and want them\nkept valid. Only inline links are read (`[text](path)`); images,\nautolinks, reference links and linter directive comments are not.\nNothing inside a comment is ever rewritten.\n\nExample:\n```toml\n[MD057]\nhtml-comments = true\n```",
"type": "boolean",
"default": false
},
"html_comments": {
"description": "Also check inline links written inside HTML comments.\n\nOff by default: a comment is not rendered, so a link in one is not a\nlink the reader can follow. Enable it for projects that keep links in\ncomments to bring back later or to hand to another tool, and want them\nkept valid. Only inline links are read (`[text](path)`); images,\nautolinks, reference links and linter directive comments are not.\nNothing inside a comment is ever rewritten.\n\nExample:\n```toml\n[MD057]\nhtml-comments = true\n```",
"type": "boolean",
"default": false
},
"ignore-frontmatter-fields": {
"description": "Top-level frontmatter keys whose values are not checked. Matched\ncase-insensitively. A parent key excludes its whole subtree. Applies\nonly when `check-frontmatter` is enabled.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignore_frontmatter_fields": {
"description": "Top-level frontmatter keys whose values are not checked. Matched\ncase-insensitively. A parent key excludes its whole subtree. Applies\nonly when `check-frontmatter` is enabled.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"roots": {
"description": "Root directories used when `absolute-links = \"relative_to_roots\"`.\n\nAbsolute links are resolved against each configured root in order, then\nagainst the project root as an implicit fallback. The first root under\nwhich the target file exists passes the check. A warning is emitted only\nwhen no resolution finds the file.\n\nThe implicit project-root fallback supports both link styles in the same\nproject without extra configuration: `/foo.md` (relative to a configured\nroot) and `/content/en/foo.md` (literal path from the project root).\n\nPaths are resolved relative to the project root when not absolute.\nTrailing slashes are normalized automatically.\n\nWhen `roots` is empty, absolute links are validated against the project\nroot only — useful for single-root projects where every absolute link\nresolves directly from the project root.\n\nExample:\n```toml\n[MD057]\nabsolute-links = \"relative_to_roots\"\nroots = [\"content/en\", \"content/zh-cn\"]\n```",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"search-paths": {
"description": "Additional directories to search when a relative link is not found\nrelative to the file's directory.\n\nPaths are resolved relative to the project root (where `.rumdl.toml` or\n`pyproject.toml` is found), or relative to the current working directory.\n\nFor Obsidian users: the attachment folder is auto-detected from\n`.obsidian/app.json` when `flavor = \"obsidian\"` is set, so this option\nis typically not needed. Use it for custom setups or non-Obsidian tools.\n\nExample:\n```toml\n[MD057]\nsearch-paths = [\"assets\", \"images\", \"attachments\"]\n```",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"search_paths": {
"description": "Additional directories to search when a relative link is not found\nrelative to the file's directory.\n\nPaths are resolved relative to the project root (where `.rumdl.toml` or\n`pyproject.toml` is found), or relative to the current working directory.\n\nFor Obsidian users: the attachment folder is auto-detected from\n`.obsidian/app.json` when `flavor = \"obsidian\"` is set, so this option\nis typically not needed. Use it for custom setups or non-Obsidian tools.\n\nExample:\n```toml\n[MD057]\nsearch-paths = [\"assets\", \"images\", \"attachments\"]\n```",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"self-referential-links": {
"description": "Warn when a relative link points at the file it is written in.\n\nFollowing such a link reloads the page the reader is already on. When\nthe link carries a fragment, `file.md#section` from within `file.md`\nwarns and suggests `#section`, which reaches the same heading without\nthe reload. A link to the whole file has no equivalent shorter form, so\nit is reported without a fix.",
"type": "boolean",
"default": false
},
"self_referential_links": {
"description": "Warn when a relative link points at the file it is written in.\n\nFollowing such a link reloads the page the reader is already on. When\nthe link carries a fragment, `file.md#section` from within `file.md`\nwarns and suggests `#section`, which reaches the same heading without\nthe reload. A link to the whole file has no equivalent shorter form, so\nit is reported without a fix.",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD058": {
"description": "Tables should be surrounded by blank lines",
"type": "object",
"properties": {
"minimum-after": {
"description": "Minimum number of blank lines after tables",
"type": "integer",
"default": 1,
"minimum": 0
},
"minimum_after": {
"description": "Minimum number of blank lines after tables",
"type": "integer",
"default": 1,
"minimum": 0
},
"minimum-before": {
"description": "Minimum number of blank lines before tables",
"type": "integer",
"default": 1,
"minimum": 0
},
"minimum_before": {
"description": "Minimum number of blank lines before tables",
"type": "integer",
"default": 1,
"minimum": 0
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD059": {
"description": "Link text should be descriptive",
"type": "object",
"properties": {
"prohibited-texts": {
"description": "List of prohibited link text phrases (case-insensitive)",
"type": "array",
"items": {
"type": "string"
},
"default": [
"click here",
"here",
"link",
"more"
]
},
"prohibited_texts": {
"description": "List of prohibited link text phrases (case-insensitive)",
"type": "array",
"items": {
"type": "string"
},
"default": [
"click here",
"here",
"link",
"more"
]
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD060": {
"description": "Table columns should be consistently aligned",
"type": "object",
"properties": {
"aligned-delimiter": {
"description": "Pads the delimiter row's dashes to match header column widths under\n`compact` and `tight` styles.\n\n- `false` (default): delimiter cells use the minimum dash count.\n- `true`: delimiter pipe positions align with header pipe positions;\n body rows remain compact/tight and are not padded.\n\nNo effect under `aligned` / `aligned-no-space` (those styles already\nalign the delimiter row by construction), except when a table exceeds\n`max-width` and auto-compacts: the effective output style is then\n`compact`, so the delimiter row is aligned to the header column widths.\n\nMirrors markdownlint MD060's `aligned_delimiter` option; the snake_case\nalias is accepted for cross-tool compatibility.",
"type": "boolean",
"default": false
},
"aligned_delimiter": {
"description": "Pads the delimiter row's dashes to match header column widths under\n`compact` and `tight` styles.\n\n- `false` (default): delimiter cells use the minimum dash count.\n- `true`: delimiter pipe positions align with header pipe positions;\n body rows remain compact/tight and are not padded.\n\nNo effect under `aligned` / `aligned-no-space` (those styles already\nalign the delimiter row by construction), except when a table exceeds\n`max-width` and auto-compacts: the effective output style is then\n`compact`, so the delimiter row is aligned to the header column widths.\n\nMirrors markdownlint MD060's `aligned_delimiter` option; the snake_case\nalias is accepted for cross-tool compatibility.",
"type": "boolean",
"default": false
},
"column-align": {
"description": "Controls how cell text is aligned within the padded column width.\n\n- `auto` (default): Use alignment indicators from delimiter row (`:---`, `:---:`, `---:`)\n- `left`: Force all columns to left-align text\n- `center`: Force all columns to center text\n- `right`: Force all columns to right-align text\n\nOnly applies when `style = \"aligned\"` or `style = \"aligned-no-space\"`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\ncolumn-align = \"center\" # Center all cell text\n``` One of `auto`, `left`, `center`, `right`.",
"default": "auto",
"type": "string"
},
"column_align": {
"description": "Controls how cell text is aligned within the padded column width.\n\n- `auto` (default): Use alignment indicators from delimiter row (`:---`, `:---:`, `---:`)\n- `left`: Force all columns to left-align text\n- `center`: Force all columns to center text\n- `right`: Force all columns to right-align text\n\nOnly applies when `style = \"aligned\"` or `style = \"aligned-no-space\"`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\ncolumn-align = \"center\" # Center all cell text\n``` One of `auto`, `left`, `center`, `right`.",
"default": "auto",
"type": "string"
},
"column-align-body": {
"description": "Controls alignment specifically for body rows (non-header, non-delimiter).\n\nWhen set, overrides `column-align` for body rows only.\nIf not set, falls back to `column-align`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\ncolumn-align-header = \"center\" # Center header text\ncolumn-align-body = \"left\" # Left-align body text\n```"
},
"column_align_body": {
"description": "Controls alignment specifically for body rows (non-header, non-delimiter).\n\nWhen set, overrides `column-align` for body rows only.\nIf not set, falls back to `column-align`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\ncolumn-align-header = \"center\" # Center header text\ncolumn-align-body = \"left\" # Left-align body text\n```"
},
"column-align-header": {
"description": "Controls alignment specifically for the header row.\n\nWhen set, overrides `column-align` for the header row only.\nIf not set, falls back to `column-align`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\ncolumn-align-header = \"center\" # Center header text\ncolumn-align-body = \"left\" # Left-align body text\n```"
},
"column_align_header": {
"description": "Controls alignment specifically for the header row.\n\nWhen set, overrides `column-align` for the header row only.\nIf not set, falls back to `column-align`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\ncolumn-align-header = \"center\" # Center header text\ncolumn-align-body = \"left\" # Left-align body text\n```"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
},
"loose-last-column": {
"description": "Controls whether the last column in body rows is loosely formatted.\n\n- `false` (default): All columns padded to equal width across all rows.\n- `true`: The last column width is capped at the header text width.\n Body cells shorter than the header are padded to the header width.\n Body cells longer than the header extend beyond without padding.\n\nOnly applies when `style = \"aligned\"` or `style = \"aligned-no-space\"`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\nloose-last-column = true\n```",
"type": "boolean",
"default": false
},
"loose_last_column": {
"description": "Controls whether the last column in body rows is loosely formatted.\n\n- `false` (default): All columns padded to equal width across all rows.\n- `true`: The last column width is capped at the header text width.\n Body cells shorter than the header are padded to the header width.\n Body cells longer than the header extend beyond without padding.\n\nOnly applies when `style = \"aligned\"` or `style = \"aligned-no-space\"`.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\nloose-last-column = true\n```",
"type": "boolean",
"default": false
},
"max-width": {
"description": "Maximum table width before switching to compact mode.\n\n`0` (default) inherits MD013's `line-length`; any other value is an explicit\nthreshold. Tables wider than this are formatted with minimal padding, which\nmatches Prettier's table formatting.",
"type": [
"integer",
"null"
],
"default": 0,
"minimum": 0
},
"max_width": {
"description": "Maximum table width before switching to compact mode.\n\n`0` (default) inherits MD013's `line-length`; any other value is an explicit\nthreshold. Tables wider than this are formatted with minimal padding, which\nmatches Prettier's table formatting.",
"type": [
"integer",
"null"
],
"default": 0,
"minimum": 0
},
"pad-width": {
"description": "Spaces placed on each side of a cell's content, between the cell and the\ndividing pipe. Configured values must be between 0 and 255.\n\n- Unset (default): each style keeps its own padding — one space for\n `aligned`, `aligned-no-space` and `compact`, none for `tight`.\n- Set: the value applies to every style, so `pad-width = 0` gives aligned\n columns with pipes flush against the content, and `pad-width = 2`\n gives every style two spaces of padding.\n\n`aligned-no-space` keeps its defining trait regardless: its delimiter row\nis never surrounded by padding, and instead carries the padding width in\nextra dashes so the column stays the same width as the content rows.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\npad-width = 0 # |Name |Age|\n```\n\n```toml\n[MD060]\nstyle = \"aligned\"\npad-width = 2 # | Name | Age |\n```"
},
"pad_width": {
"description": "Spaces placed on each side of a cell's content, between the cell and the\ndividing pipe. Configured values must be between 0 and 255.\n\n- Unset (default): each style keeps its own padding — one space for\n `aligned`, `aligned-no-space` and `compact`, none for `tight`.\n- Set: the value applies to every style, so `pad-width = 0` gives aligned\n columns with pipes flush against the content, and `pad-width = 2`\n gives every style two spaces of padding.\n\n`aligned-no-space` keeps its defining trait regardless: its delimiter row\nis never surrounded by padding, and instead carries the padding width in\nextra dashes so the column stays the same width as the content rows.\n\n# Examples\n\n```toml\n[MD060]\nstyle = \"aligned\"\npad-width = 0 # |Name |Age|\n```\n\n```toml\n[MD060]\nstyle = \"aligned\"\npad-width = 2 # | Name | Age |\n```"
},
"style": {
"description": "Table formatting style to enforce: `aligned` (padded for visual alignment),\n`aligned-no-space` (aligned, delimiter row without spaces around the dashes),\n`compact`, `tight`, or `any` (keep whatever style the table already has).",
"type": "string",
"default": "any"
},
"severity": {
"$ref": "#/$defs/Severity"
}
}
},
"MD061": {
"description": "Forbidden terms",
"type": "object",
"properties": {
"case-sensitive": {
"description": "Matches terms case-sensitively. Off means `Whitelist` also flags `whitelist`.",
"type": "boolean",
"default": true
},
"case_sensitive": {
"description": "Matches terms case-sensitively. Off means `Whitelist` also flags `whitelist`.",
"type": "boolean",
"default": true
},
"terms": {
"description": "Comma-separated terms or phrases that must not appear in the document.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD062": {
"description": "Link destination should not have leading or trailing whitespace",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD063": {
"description": "Heading capitalization",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
},
"ignore-words": {
"description": "Words to preserve exactly as specified (brand names like iPhone, macOS)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignore_words": {
"description": "Words to preserve exactly as specified (brand names like iPhone, macOS)",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"lowercase-words": {
"description": "Words that should always be lowercase in title case\n(articles, prepositions, conjunctions)",
"type": "array",
"items": {
"type": "string"
},
"default": [
"a",
"an",
"and",
"as",
"at",
"but",
"by",
"for",
"from",
"in",
"into",
"nor",
"of",
"off",
"on",
"or",
"per",
"so",
"the",
"to",
"up",
"via",
"with",
"yet"
]
},
"lowercase_words": {
"description": "Words that should always be lowercase in title case\n(articles, prepositions, conjunctions)",
"type": "array",
"items": {
"type": "string"
},
"default": [
"a",
"an",
"and",
"as",
"at",
"but",
"by",
"for",
"from",
"in",
"into",
"nor",
"of",
"off",
"on",
"or",
"per",
"so",
"the",
"to",
"up",
"via",
"with",
"yet"
]
},
"max-level": {
"description": "Maximum heading level to check (1-6)",
"type": "integer",
"default": 6,
"minimum": 0,
"maximum": 255
},
"max_level": {
"description": "Maximum heading level to check (1-6)",
"type": "integer",
"default": 6,
"minimum": 0,
"maximum": 255
},
"min-level": {
"description": "Minimum heading level to check (1-6)",
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 255
},
"min_level": {
"description": "Minimum heading level to check (1-6)",
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 255
},
"preserve-cased-words": {
"description": "Preserve existing mixed-case words even if not in ignore_words",
"type": "boolean",
"default": true
},
"preserve_cased_words": {
"description": "Preserve existing mixed-case words even if not in ignore_words",
"type": "boolean",
"default": true
},
"sentence-case-restart-after": {
"description": "Punctuation that starts a new sentence in sentence case, so the word after it\nis capitalized like the first word of the heading. Matched against the end of a\nword, so the boundary is only recognized where whitespace follows it.\nEmpty by default, which capitalizes only the heading's first word.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"sentence_case_restart_after": {
"description": "Punctuation that starts a new sentence in sentence case, so the word after it\nis capitalized like the first word of the heading. Matched against the end of a\nword, so the boundary is only recognized where whitespace follows it.\nEmpty by default, which capitalizes only the heading's first word.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"style": {
"description": "Capitalization style to enforce One of `title-case`, `sentence-case`, `all-caps`, `consistent`.",
"default": "title-case",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
}
}
},
"MD064": {
"description": "Multiple consecutive spaces",
"type": "object",
"properties": {
"allow-sentence-double-space": {
"description": "Allow exactly two spaces after sentence-ending punctuation (default: false)\n\nWhen enabled, allows exactly 2 spaces after sentence-ending punctuation\n(`.`, `!`, `?`) while still flagging multiple spaces elsewhere. This\nsupports the traditional typewriter convention of two spaces after sentences.\n\nSentence-ending punctuation includes:\n- Period: `.`\n- Exclamation mark: `!`\n- Question mark: `?`\n\nAlso recognizes closing punctuation after sentence endings:\n- Quotes: `.\"`, `!\"`, `?\"`, `.'`, `!'`, `?'`\n- Parentheses: `.)`, `!)`, `?)`\n- Brackets: `.]`, `!]`, `?]`\n- Ellipsis: `...`\n\nExample with `allow-sentence-double-space = true`:\n```markdown\nFirst sentence. Second sentence. <- OK (2 spaces after period)\nMultiple spaces here. <- Flagged (3 spaces, not after sentence)\nWord word in middle. <- Flagged (2 spaces, not after sentence)\n```",
"type": "boolean",
"default": false
},
"allow_sentence_double_space": {
"description": "Allow exactly two spaces after sentence-ending punctuation (default: false)\n\nWhen enabled, allows exactly 2 spaces after sentence-ending punctuation\n(`.`, `!`, `?`) while still flagging multiple spaces elsewhere. This\nsupports the traditional typewriter convention of two spaces after sentences.\n\nSentence-ending punctuation includes:\n- Period: `.`\n- Exclamation mark: `!`\n- Question mark: `?`\n\nAlso recognizes closing punctuation after sentence endings:\n- Quotes: `.\"`, `!\"`, `?\"`, `.'`, `!'`, `?'`\n- Parentheses: `.)`, `!)`, `?)`\n- Brackets: `.]`, `!]`, `?]`\n- Ellipsis: `...`\n\nExample with `allow-sentence-double-space = true`:\n```markdown\nFirst sentence. Second sentence. <- OK (2 spaces after period)\nMultiple spaces here. <- Flagged (3 spaces, not after sentence)\nWord word in middle. <- Flagged (2 spaces, not after sentence)\n```",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD065": {
"description": "Horizontal rules should be surrounded by blank lines",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD066": {
"description": "Footnote validation",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD067": {
"description": "Footnote definitions should appear in order of first reference",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD068": {
"description": "Footnote definitions should not be empty",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD069": {
"description": "Duplicate list markers",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD070": {
"description": "Nested code fence collision - use longer fence to avoid premature closure",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD071": {
"description": "Blank line after frontmatter",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD072": {
"description": "Frontmatter keys should be sorted alphabetically",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
},
"key_order": {
"description": "Custom key order. Keys listed here will be sorted in this order.\nKeys not in this list will be sorted alphabetically after the specified keys.\nIf not set, all keys are sorted alphabetically (case-insensitive).\n\nExample: `key_order = [\"title\", \"date\", \"author\", \"tags\"]`"
},
"required_keys": {
"description": "Keys that must be present in the frontmatter. Each missing key is\nreported, matched case-insensitively against top-level keys (like\n`key_order`). Independent of `key_order`: you can order many keys while\nrequiring only a few. These warnings carry no fix because rumdl cannot\ninvent meaningful values for missing keys.\n\nOnly applies to files that have frontmatter; requiring frontmatter to\nexist at all is out of scope for this rule.\n\nExample: `required_keys = [\"title\", \"date\"]`",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"severity": {
"$ref": "#/$defs/Severity"
}
}
},
"MD073": {
"description": "Table of Contents should match document headings",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
},
"enforce-order": {
"type": "boolean"
},
"enforce_order": {
"type": "boolean"
},
"indent": {
"type": "integer"
},
"max-level": {
"type": "integer"
},
"max_level": {
"type": "integer"
},
"min-level": {
"type": "integer"
},
"min_level": {
"type": "integer"
},
"severity": {
"$ref": "#/$defs/Severity"
}
}
},
"MD074": {
"description": "MkDocs nav entries should point to existing files",
"type": "object",
"properties": {
"absolute-links": {
"description": "How to handle absolute links in nav entries\n- \"warn\": Report a warning\n- \"ignore\" (default): Skip validation One of `warn`, `ignore`.",
"default": "ignore",
"type": "string"
},
"absolute_links": {
"description": "How to handle absolute links in nav entries\n- \"warn\": Report a warning\n- \"ignore\" (default): Skip validation One of `warn`, `ignore`.",
"default": "ignore",
"type": "string"
},
"not-found": {
"description": "How to handle nav entries pointing to non-existent files\n- \"warn\" (default): Report a warning\n- \"ignore\": Skip validation One of `warn`, `ignore`.",
"default": "warn",
"type": "string"
},
"not_found": {
"description": "How to handle nav entries pointing to non-existent files\n- \"warn\" (default): Report a warning\n- \"ignore\": Skip validation One of `warn`, `ignore`.",
"default": "warn",
"type": "string"
},
"omitted-files": {
"description": "How to handle files in docs_dir that aren't referenced in nav\n- \"warn\": Report a warning\n- \"ignore\" (default): Skip validation One of `warn`, `ignore`.",
"default": "ignore",
"type": "string"
},
"omitted_files": {
"description": "How to handle files in docs_dir that aren't referenced in nav\n- \"warn\": Report a warning\n- \"ignore\" (default): Skip validation One of `warn`, `ignore`.",
"default": "ignore",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD075": {
"description": "Orphaned table rows or headerless pipe content",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD076": {
"description": "List item spacing should be consistent",
"type": "object",
"properties": {
"allow-loose-continuation": {
"description": "When true, blank lines around continuation paragraphs within a list item\nare permitted even in tight mode. This allows tight inter-item spacing\nwhile using blank lines to visually separate continuation content.",
"type": "boolean"
},
"allow_loose_continuation": {
"description": "When true, blank lines around continuation paragraphs within a list item\nare permitted even in tight mode. This allows tight inter-item spacing\nwhile using blank lines to visually separate continuation content.",
"type": "boolean"
},
"style": {
"description": "Style the gaps between consecutive list items must follow: `consistent` keeps\neach list on whichever style it already uses, `loose` requires a blank line\nbetween items and `tight` forbids one. One of `consistent`, `loose`, `tight`.",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD077": {
"description": "List continuation content indentation",
"type": "object",
"properties": {
"indent": {
"description": "Fixed continuation indent relative to the list marker, e.g. `4` for\nMkDocs-style documents. When set, it replaces the content-column-derived\nrequirement, except that under a flavor requiring strict list indentation\nit may only raise the 4-space minimum, never lower it. `None` keeps the\ndefault content-column behavior."
},
"style": {
"description": "How strictly continuation-line indentation is enforced. One of `any`, `aligned`.",
"default": "any",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD078": {
"description": "Executable Quarto chunks should have a label",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD079": {
"description": "Quarto chunk labels must not contain whitespace",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD080": {
"description": "Heading anchors must be unique",
"type": "object",
"properties": {
"anchor-style": {
"description": "Anchor generation style to match the target platform. One of `github`, `kramdown-gfm`, `kramdown`, `python-markdown`.",
"default": "github",
"type": "string"
},
"anchor_style": {
"description": "Anchor generation style to match the target platform. One of `github`, `kramdown-gfm`, `kramdown`, `python-markdown`.",
"default": "github",
"type": "string"
},
"levels": {
"description": "Heading levels whose anchors must be unique. Defaults to all levels\n(any heading can be a fragment target). Set to `[1, 2]` to check only\nthe MDXG virtual-page identifiers derived from H1/H2 titles.",
"type": "array",
"items": {
"type": "integer",
"maximum": 255,
"minimum": 0
},
"default": [
1,
2,
3,
4,
5,
6
]
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD081": {
"description": "Inline emphasis should not be excessive",
"type": "object",
"properties": {
"max-consecutive": {
"description": "Maximum length of a run of adjacent emphasis spans separated only by\nwhitespace and punctuation. A longer run is flagged. Unset disables the\ncheck; `Some(0)` forbids any emphasis (every span is at least a run of one)."
},
"max_consecutive": {
"description": "Maximum length of a run of adjacent emphasis spans separated only by\nwhitespace and punctuation. A longer run is flagged. Unset disables the\ncheck; `Some(0)` forbids any emphasis (every span is at least a run of one)."
},
"max-per-paragraph": {
"description": "Maximum emphasis spans allowed in a single paragraph. A paragraph with\nmore than this many spans is flagged. Unset disables the check; `Some(0)`\nforbids all emphasis in a paragraph."
},
"max_per_paragraph": {
"description": "Maximum emphasis spans allowed in a single paragraph. A paragraph with\nmore than this many spans is flagged. Unset disables the check; `Some(0)`\nforbids all emphasis in a paragraph."
},
"targets": {
"description": "Which emphasis spans to count. Defaults to `strong` (bold only), the\npattern reported as the primary readability problem. One of `strong`, `emphasis`, `all`.",
"default": "strong",
"type": "string"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD082": {
"description": "Headings should have content before the next heading",
"type": "object",
"properties": {
"allow-parent-headings": {
"description": "Accept a heading whose next heading is deeper, taking the subsections as\nthe parent's content. Sibling or shallower headings with nothing between\nthem are still flagged. Default false checks every heading against the\n`level` floor regardless of what follows it.",
"type": "boolean",
"default": false
},
"allow_parent_headings": {
"description": "Accept a heading whose next heading is deeper, taking the subsections as\nthe parent's content. Sibling or shallower headings with nothing between\nthem are still flagged. Default false checks every heading against the\n`level` floor regardless of what follows it.",
"type": "boolean",
"default": false
},
"level": {
"description": "Minimum heading level (1-6) that must be followed by content. A heading\nwhose level is at least this value is flagged when it is immediately\nfollowed by another heading with no body in between. Default 1 checks\nevery heading; set to 2 to exempt H1 (so `# Title` straight into\n`## Section` is allowed) while still requiring content under H2 and below.",
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 255
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD083": {
"description": "Detect mojibake due to encoding issues",
"type": "object",
"properties": {
"ignore": {
"description": "Mojibake sequences that should not trigger MD083 findings.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignore-code-blocks": {
"description": "Whether to ignore mojibake findings inside fenced and indented code blocks.",
"type": "boolean",
"default": true
},
"ignore_code_blocks": {
"description": "Whether to ignore mojibake findings inside fenced and indented code blocks.",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD084": {
"description": "Invisible or discouraged Unicode characters should be intentional",
"type": "object",
"properties": {
"allow": {
"description": "Codepoint allow-list in `U+XXXX` / `U+XXXXX` / `U+XXXXXX` format.\n\nAny matched invisible character with a codepoint present in this list\nis ignored.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"strict": {
"description": "When enabled, report any invisible character anywhere in the document.",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD085": {
"description": "Paragraph continuation lines should not be indented",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD086": {
"description": "Comments should be closed",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD087": {
"description": "Inline disable comments should suppress something",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD088": {
"description": "Quotes and dashes should be replaced with ASCII equivalents",
"type": "object",
"properties": {
"allow": {
"description": "Unicode characters to allow as-is.\n\nAny look-alike character with a codepoint present in this list\nis ignored by MD088 and not auto-replaced.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"normalize-dashes": {
"description": "Enables linting and autofix for look-alike dashes.",
"type": "boolean",
"default": false
},
"normalize_dashes": {
"description": "Enables linting and autofix for look-alike dashes.",
"type": "boolean",
"default": false
},
"normalize-quotes": {
"description": "Enables linting and autofix for look-alike quotes.",
"type": "boolean",
"default": true
},
"normalize_quotes": {
"description": "Enables linting and autofix for look-alike quotes.",
"type": "boolean",
"default": true
},
"normalize-spaces": {
"description": "Enables linting and autofix for non-ASCII space characters\n(no-break space, narrow no-break space, en/em spaces, ideographic space, ...).",
"type": "boolean",
"default": false
},
"normalize_spaces": {
"description": "Enables linting and autofix for non-ASCII space characters\n(no-break space, narrow no-break space, en/em spaces, ideographic space, ...).",
"type": "boolean",
"default": false
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD089": {
"description": "CJK letters and Latin letters or digits should be separated by a space",
"type": "object",
"properties": {
"symbols-after-cjk": {
"description": "Symbols that lead a Latin run and take a space after a CJK letter.",
"type": "string",
"default": "-+'\"([¥$"
},
"symbols_after_cjk": {
"description": "Symbols that lead a Latin run and take a space after a CJK letter.",
"type": "string",
"default": "-+'\"([¥$"
},
"symbols-before-cjk": {
"description": "Symbols that trail a Latin run and take a space before a CJK letter.",
"type": "string",
"default": "-+;:'\"°%$)]"
},
"symbols_before_cjk": {
"description": "Symbols that trail a Latin run and take a space before a CJK letter.",
"type": "string",
"default": "-+;:'\"°%$)]"
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD090": {
"description": "Horizontal rules should not precede headings",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD091": {
"description": "Markdown inside an HTML block renders as literal text",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD092": {
"description": "Unresolved merge conflict markers",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD093": {
"description": "Headings should not contain inline formatting",
"type": "object",
"properties": {
"code": {
"description": "Report inline code spans in headings.",
"type": "boolean",
"default": true
},
"emphasis": {
"description": "Report ordinary emphasis (`*`/`_`) in headings.",
"type": "boolean",
"default": true
},
"strong": {
"description": "Report strong emphasis (`**`/`__`) in headings.",
"type": "boolean",
"default": true
},
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD094": {
"description": "File is not valid UTF-8",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD095": {
"description": "Link destinations should not contain confusable non-ASCII characters",
"type": "object",
"properties": {
"severity": {
"$ref": "#/$defs/Severity"
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
}
}
},
"MD096": {
"description": "Table rows should be sorted by a named column",
"type": "object",
"properties": {
"column": {
"description": "No implicit first column: enabling the rule alone must not reorder tables."
},
"enabled": {
"type": "boolean",
"description": "Enables or disables this rule."
},
"order": {
"type": "string",
"default": "asc",
"description": "One of `asc`, `desc`."
},
"severity": {
"$ref": "#/$defs/Severity"
}
}
}
}
}