-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint.jsonc
43 lines (38 loc) · 1.12 KB
/
.markdownlint.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Example markdownlint configuration with all properties set to their default value
{
// Default state for all rules
"default": true,
// MkDocs assumes 4 spaces for indentation.
// Markdown assumes 4 spaces for indentation.
// That markdownlint has a different default is the error of markdownlint
"MD007": { "indent": 4 },
// Standard markdown does not allow for two correct consecutive blank lines
// i an admonitions (a.o. the 'question' admonition):
//
// ???- question "A question"
//
// ```
// echo "indented code here :-)
// ````
// [blank line 1 here]
// [blank line 2 here]
//
// Hence we allow 2 consecutive blank lines
//
"MD012": {
// Consecutive blank lines, CHANGED FROM 1
"maximum": 2
},
// Standard markdown does not allow for valid indent code like this:
//
// ???- question "A question"
//
// ```
// echo "indented code here :-)
// ````
//
// Hence we allow valid indented code.
//
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md046.md
"MD046": false
}