# rumdl — Rust-based markdown linter
# https://github.com/rvben/rumdl

respect-gitignore = true
exclude = ["node_modules", "target", "dist", "vendor"]

# MD013: Disable line-length enforcement (tables and code blocks can be long)
# MD041: Don't require first line to be an H1
# MD046: Disable code block style — MkDocs tabs/admonitions indent fenced
#        blocks, which rumdl misidentifies as indented code blocks
# MD051: Disable cross-file link fragment checking (incompatible with MkDocs
#        HTML processing — MkDocs strips <span> tags from heading IDs)
# MD013: Line length (tables/code can be long)
# MD033: Inline HTML (MkDocs uses HTML extensively)
# MD036: Emphasis as heading (intentional style in docs/READMEs)
# MD041: First line H1 not required
# MD046: Code block style (MkDocs tabs indent fenced blocks)
# MD051: Link fragment checking (incompatible with MkDocs anchor generation)
# MD076: Blank lines between list items (intentional formatting in READMEs)
disable = [
  "MD012",
  "MD013",
  "MD024",
  "MD033",
  "MD036",
  "MD041",
  "MD046",
  "MD051",
  "MD076",
]

# MD024: Allow duplicate heading names if they are not siblings
[MD024]
siblings_only = true
