From bd088e98948edf531fb70bf09d168bb8c8fd21e5 Mon Sep 17 00:00:00 2001 From: Thibault VINCENT Date: Fri, 1 May 2026 02:13:37 +0200 Subject: [PATCH] ci(lint): relax markdown checks for github html --- .markdownlint-cli2.jsonc | 7 +++++++ README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 @@ - +