Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 166fef4

Browse files
committedMar 21, 2025·
style(markdown): enable no-inline-html with allowed elements
1 parent b11d2e8 commit 166fef4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎.markdownlint-cli2.jsonc

+3-2
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@
8989
/* MD032 - Lists should be surrounded by blank lines */
9090
"blanks-around-lists": true,
9191

92-
// FIXME: enable and configure
9392
/* MD033 - Inline HTML */
94-
"no-inline-html": false,
93+
"no-inline-html": {
94+
"allowed_elements": ["dl", "dt", "dd", "kbd", "details"]
95+
},
9596

9697
// FIXME: enable and configure
9798
/* MD034 - Bare URL used */

0 commit comments

Comments
 (0)
Please sign in to comment.