Skip to content

Commit 9b20e6b

Browse files
Copilotjbampton
andauthored
markdownlint: replace MD033 global disable with element allowlist (#422)
* Initial plan * fix: whitelist specific HTML elements for MD033 instead of disabling globally Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/ee41597a-a9e7-4bc0-9720-83bcd2e37d7f Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
1 parent c1b2913 commit 9b20e6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/linters/.markdown-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ MD024: false
1010
MD051: false
1111

1212
# MD033/no-inline-html Inline HTML
13-
MD033: false
13+
MD033:
14+
allowed_elements: ["div", "h1"]
1415

1516
# MD036/no-emphasis-as-heading Emphasis used instead of a heading
1617
MD036: false

0 commit comments

Comments
 (0)