-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint.jsonc
62 lines (56 loc) · 1.6 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// 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
},
"MD013": {
// Number of characters, CHANGED FROM 80
"line_length": 1000,
// Number of characters for headings
"heading_line_length": 80,
// Number of characters for code blocks, CHANGED FROM 80
"code_block_line_length": 200,
// Include code blocks
"code_blocks": true,
// Include tables
"tables": true,
// Include headings
"headings": true,
// Strict length checking
"strict": false,
// Stern length checking
"stern": false
},
// 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
}