diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index 5fb1292..8976ea1 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -9,6 +9,13 @@ // Duplicate headings: allow when in different sections (e.g. "## Why" // can appear under multiple top-level headings). "MD024": { "siblings_only": true }, + // Inline HTML: keep the rule active but whitelist the elements we + // actually use for the centered header (logo //, + // badge bloc
/

, soft line break
). Anything else still + // gets flagged. MD041 (first-line H1) is left at default; the README + // intentionally opens with HTML for the centered logo and silences + // MD041 on its first line via an inline directive. + "MD033": { "allowed_elements": ["p", "picture", "source", "img", "div", "br"] }, }, "ignores": [ // Auto-generated by release-please from Conventional Commits. diff --git a/README.md b/README.md index f43da01..46c7e1b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +