Skip to content

Commit 9883b95

Browse files
committed
Add markdownlint from Linux 201
Though we're not going to immediately use markdownlint here yet... Just for writers' reference.
1 parent d239aad commit 9883b95

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.markdownlint.jsonc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"MD007": { // Unordered list indentation
3+
"indent": 4
4+
},
5+
"MD013": false, // Line length
6+
"MD033": { // Inline HTML
7+
"allowed_elements": [
8+
"br", // Useful in tables
9+
"figure", "figcaption",
10+
"s", "del" // Python-Markdown parsing issue with CJK
11+
]
12+
},
13+
"MD046": false, // Use fenced code block style, too many false positives
14+
"MD051": false, // Link fragments should be valid, false positives
15+
"MD052": false, // Reference link should be defined and used, false positives with includes/man.md
16+
"MD010": false, // Some command output contains hard tabs
17+
"MD024": { // Allow multiple headers with the same content, if they are not siblings
18+
"siblings_only": true
19+
}
20+
}

0 commit comments

Comments
 (0)