markdownlint 0.31.1 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/CONTRIBUTING.md +2 -2
  3. package/README.md +19 -28
  4. package/demo/markdownlint-browser.js +521 -352
  5. package/doc/Rules.md +146 -127
  6. package/doc/md001.md +2 -2
  7. package/doc/md003.md +2 -2
  8. package/doc/md007.md +3 -4
  9. package/doc/md013.md +0 -3
  10. package/doc/md018.md +1 -1
  11. package/doc/md019.md +1 -1
  12. package/doc/md020.md +1 -1
  13. package/doc/md021.md +1 -1
  14. package/doc/md022.md +2 -2
  15. package/doc/md023.md +9 -2
  16. package/doc/md024.md +2 -2
  17. package/doc/md025.md +1 -1
  18. package/doc/md026.md +1 -1
  19. package/doc/md036.md +2 -2
  20. package/doc/md041.md +1 -1
  21. package/doc/md043.md +2 -5
  22. package/doc/md045.md +6 -0
  23. package/doc/md049.md +1 -1
  24. package/doc/md050.md +1 -1
  25. package/doc/md053.md +3 -3
  26. package/doc/md054.md +100 -0
  27. package/helpers/helpers.js +27 -7
  28. package/helpers/micromark.cjs +62 -15
  29. package/helpers/package.json +2 -1
  30. package/helpers/shared.js +3 -0
  31. package/lib/configuration.d.ts +1152 -0
  32. package/lib/constants.js +7 -7
  33. package/lib/markdownlint.d.ts +2 -4
  34. package/lib/markdownlint.js +9 -8
  35. package/lib/md001.js +2 -2
  36. package/lib/md003.js +2 -2
  37. package/lib/md005.js +21 -17
  38. package/lib/md007.js +62 -25
  39. package/lib/md013.js +1 -4
  40. package/lib/md018.js +1 -1
  41. package/lib/md019.js +1 -1
  42. package/lib/md020.js +1 -1
  43. package/lib/md021.js +1 -1
  44. package/lib/md022.js +4 -4
  45. package/lib/md023.js +2 -2
  46. package/lib/md024.js +2 -2
  47. package/lib/md025.js +1 -1
  48. package/lib/md026.js +1 -1
  49. package/lib/md030.js +33 -22
  50. package/lib/md032.js +1 -4
  51. package/lib/md033.js +1 -3
  52. package/lib/md034.js +31 -25
  53. package/lib/md036.js +2 -2
  54. package/lib/md037.js +2 -2
  55. package/lib/md038.js +7 -5
  56. package/lib/md041.js +1 -1
  57. package/lib/md043.js +3 -3
  58. package/lib/md045.js +33 -3
  59. package/lib/md049-md050.js +2 -2
  60. package/lib/md051.js +8 -6
  61. package/lib/md053.js +1 -1
  62. package/lib/md054.js +118 -0
  63. package/lib/rules.js +5 -3
  64. package/package.json +17 -15
  65. package/schema/.markdownlint.jsonc +63 -60
  66. package/schema/.markdownlint.yaml +62 -59
  67. package/schema/markdownlint-config-schema.json +840 -186
  68. package/style/relaxed.json +0 -1
  69. package/doc/md002.md +0 -37
  70. package/doc/md006.md +0 -46
  71. package/lib/md002.js +0 -22
  72. package/lib/md006.js +0 -34
@@ -1,5 +1,6 @@
1
1
  {
2
- "title": "Markdownlint configuration schema",
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "markdownlint configuration schema",
3
4
  "type": "object",
4
5
  "properties": {
5
6
  "default": {
@@ -21,42 +22,41 @@
21
22
  "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json"
22
23
  },
23
24
  "MD001": {
24
- "description": "MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time",
25
+ "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md001.md",
25
26
  "type": "boolean",
26
27
  "default": true
27
28
  },
28
29
  "heading-increment": {
29
- "$ref": "#/properties/MD001"
30
- },
31
- "header-increment": {
32
- "$ref": "#/properties/MD001"
30
+ "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md001.md",
31
+ "type": "boolean",
32
+ "default": true
33
33
  },
34
- "MD002": {
35
- "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
34
+ "MD003": {
35
+ "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md003.md",
36
36
  "type": [
37
37
  "boolean",
38
38
  "object"
39
39
  ],
40
40
  "default": true,
41
41
  "properties": {
42
- "level": {
43
- "description": "Heading level",
44
- "type": "integer",
45
- "minimum": 1,
46
- "maximum": 6,
47
- "default": 1
42
+ "style": {
43
+ "description": "Heading style",
44
+ "type": "string",
45
+ "enum": [
46
+ "consistent",
47
+ "atx",
48
+ "atx_closed",
49
+ "setext",
50
+ "setext_with_atx",
51
+ "setext_with_atx_closed"
52
+ ],
53
+ "default": "consistent"
48
54
  }
49
55
  },
50
56
  "additionalProperties": false
51
57
  },
52
- "first-heading-h1": {
53
- "$ref": "#/properties/MD002"
54
- },
55
- "first-header-h1": {
56
- "$ref": "#/properties/MD002"
57
- },
58
- "MD003": {
59
- "description": "MD003/heading-style/header-style - Heading style",
58
+ "heading-style": {
59
+ "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md003.md",
60
60
  "type": [
61
61
  "boolean",
62
62
  "object"
@@ -79,14 +79,8 @@
79
79
  },
80
80
  "additionalProperties": false
81
81
  },
82
- "heading-style": {
83
- "$ref": "#/properties/MD003"
84
- },
85
- "header-style": {
86
- "$ref": "#/properties/MD003"
87
- },
88
82
  "MD004": {
89
- "description": "MD004/ul-style - Unordered list style",
83
+ "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md004.md",
90
84
  "type": [
91
85
  "boolean",
92
86
  "object"
@@ -109,26 +103,40 @@
109
103
  "additionalProperties": false
110
104
  },
111
105
  "ul-style": {
112
- "$ref": "#/properties/MD004"
106
+ "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md004.md",
107
+ "type": [
108
+ "boolean",
109
+ "object"
110
+ ],
111
+ "default": true,
112
+ "properties": {
113
+ "style": {
114
+ "description": "List style",
115
+ "type": "string",
116
+ "enum": [
117
+ "consistent",
118
+ "asterisk",
119
+ "plus",
120
+ "dash",
121
+ "sublist"
122
+ ],
123
+ "default": "consistent"
124
+ }
125
+ },
126
+ "additionalProperties": false
113
127
  },
114
128
  "MD005": {
115
- "description": "MD005/list-indent - Inconsistent indentation for list items at the same level",
129
+ "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md005.md",
116
130
  "type": "boolean",
117
131
  "default": true
118
132
  },
119
133
  "list-indent": {
120
- "$ref": "#/properties/MD005"
121
- },
122
- "MD006": {
123
- "description": "MD006/ul-start-left - Consider starting bulleted lists at the beginning of the line",
134
+ "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md005.md",
124
135
  "type": "boolean",
125
136
  "default": true
126
137
  },
127
- "ul-start-left": {
128
- "$ref": "#/properties/MD006"
129
- },
130
138
  "MD007": {
131
- "description": "MD007/ul-indent - Unordered list indentation",
139
+ "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md007.md",
132
140
  "type": [
133
141
  "boolean",
134
142
  "object"
@@ -156,10 +164,35 @@
156
164
  "additionalProperties": false
157
165
  },
158
166
  "ul-indent": {
159
- "$ref": "#/properties/MD007"
167
+ "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md007.md",
168
+ "type": [
169
+ "boolean",
170
+ "object"
171
+ ],
172
+ "default": true,
173
+ "properties": {
174
+ "indent": {
175
+ "description": "Spaces for indent",
176
+ "type": "integer",
177
+ "minimum": 1,
178
+ "default": 2
179
+ },
180
+ "start_indented": {
181
+ "description": "Whether to indent the first level of the list",
182
+ "type": "boolean",
183
+ "default": false
184
+ },
185
+ "start_indent": {
186
+ "description": "Spaces for first level indent (when start_indented is set)",
187
+ "type": "integer",
188
+ "minimum": 1,
189
+ "default": 2
190
+ }
191
+ },
192
+ "additionalProperties": false
160
193
  },
161
194
  "MD009": {
162
- "description": "MD009/no-trailing-spaces - Trailing spaces",
195
+ "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md009.md",
163
196
  "type": [
164
197
  "boolean",
165
198
  "object"
@@ -186,10 +219,34 @@
186
219
  "additionalProperties": false
187
220
  },
188
221
  "no-trailing-spaces": {
189
- "$ref": "#/properties/MD009"
222
+ "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md009.md",
223
+ "type": [
224
+ "boolean",
225
+ "object"
226
+ ],
227
+ "default": true,
228
+ "properties": {
229
+ "br_spaces": {
230
+ "description": "Spaces for line break",
231
+ "type": "integer",
232
+ "minimum": 0,
233
+ "default": 2
234
+ },
235
+ "list_item_empty_lines": {
236
+ "description": "Allow spaces for empty lines in list items",
237
+ "type": "boolean",
238
+ "default": false
239
+ },
240
+ "strict": {
241
+ "description": "Include unnecessary breaks",
242
+ "type": "boolean",
243
+ "default": false
244
+ }
245
+ },
246
+ "additionalProperties": false
190
247
  },
191
248
  "MD010": {
192
- "description": "MD010/no-hard-tabs - Hard tabs",
249
+ "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md010.md",
193
250
  "type": [
194
251
  "boolean",
195
252
  "object"
@@ -219,18 +276,47 @@
219
276
  "additionalProperties": false
220
277
  },
221
278
  "no-hard-tabs": {
222
- "$ref": "#/properties/MD010"
279
+ "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md010.md",
280
+ "type": [
281
+ "boolean",
282
+ "object"
283
+ ],
284
+ "default": true,
285
+ "properties": {
286
+ "code_blocks": {
287
+ "description": "Include code blocks",
288
+ "type": "boolean",
289
+ "default": true
290
+ },
291
+ "ignore_code_languages": {
292
+ "description": "Fenced code languages to ignore",
293
+ "type": "array",
294
+ "items": {
295
+ "type": "string"
296
+ },
297
+ "default": []
298
+ },
299
+ "spaces_per_tab": {
300
+ "description": "Number of spaces for each hard tab",
301
+ "type": "integer",
302
+ "minimum": 0,
303
+ "default": 1
304
+ }
305
+ },
306
+ "additionalProperties": false
223
307
  },
224
308
  "MD011": {
225
- "description": "MD011/no-reversed-links - Reversed link syntax",
309
+ "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md011.md",
226
310
  "type": "boolean",
227
311
  "default": true
228
312
  },
229
313
  "no-reversed-links": {
230
- "$ref": "#/properties/MD011"
314
+ "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md011.md",
315
+ "type": "boolean",
316
+ "default": true
231
317
  },
232
318
  "MD012": {
233
- "description": "MD012/no-multiple-blanks - Multiple consecutive blank lines",
319
+ "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md012.md",
234
320
  "type": [
235
321
  "boolean",
236
322
  "object"
@@ -247,10 +333,24 @@
247
333
  "additionalProperties": false
248
334
  },
249
335
  "no-multiple-blanks": {
250
- "$ref": "#/properties/MD012"
336
+ "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md012.md",
337
+ "type": [
338
+ "boolean",
339
+ "object"
340
+ ],
341
+ "default": true,
342
+ "properties": {
343
+ "maximum": {
344
+ "description": "Consecutive blank lines",
345
+ "type": "integer",
346
+ "minimum": 1,
347
+ "default": 1
348
+ }
349
+ },
350
+ "additionalProperties": false
251
351
  },
252
352
  "MD013": {
253
- "description": "MD013/line-length - Line length",
353
+ "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md013.md",
254
354
  "type": [
255
355
  "boolean",
256
356
  "object"
@@ -290,7 +390,56 @@
290
390
  "type": "boolean",
291
391
  "default": true
292
392
  },
293
- "headers": {
393
+ "strict": {
394
+ "description": "Strict length checking",
395
+ "type": "boolean",
396
+ "default": false
397
+ },
398
+ "stern": {
399
+ "description": "Stern length checking",
400
+ "type": "boolean",
401
+ "default": false
402
+ }
403
+ },
404
+ "additionalProperties": false
405
+ },
406
+ "line-length": {
407
+ "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md013.md",
408
+ "type": [
409
+ "boolean",
410
+ "object"
411
+ ],
412
+ "default": true,
413
+ "properties": {
414
+ "line_length": {
415
+ "description": "Number of characters",
416
+ "type": "integer",
417
+ "minimum": 1,
418
+ "default": 80
419
+ },
420
+ "heading_line_length": {
421
+ "description": "Number of characters for headings",
422
+ "type": "integer",
423
+ "minimum": 1,
424
+ "default": 80
425
+ },
426
+ "code_block_line_length": {
427
+ "description": "Number of characters for code blocks",
428
+ "type": "integer",
429
+ "minimum": 1,
430
+ "default": 80
431
+ },
432
+ "code_blocks": {
433
+ "description": "Include code blocks",
434
+ "type": "boolean",
435
+ "default": true
436
+ },
437
+ "tables": {
438
+ "description": "Include tables",
439
+ "type": "boolean",
440
+ "default": true
441
+ },
442
+ "headings": {
294
443
  "description": "Include headings",
295
444
  "type": "boolean",
296
445
  "default": true
@@ -308,51 +457,58 @@
308
457
  },
309
458
  "additionalProperties": false
310
459
  },
311
- "line-length": {
312
- "$ref": "#/properties/MD013"
313
- },
314
460
  "MD014": {
315
- "description": "MD014/commands-show-output - Dollar signs used before commands without showing output",
461
+ "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md014.md",
316
462
  "type": "boolean",
317
463
  "default": true
318
464
  },
319
465
  "commands-show-output": {
320
- "$ref": "#/properties/MD014"
466
+ "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md014.md",
467
+ "type": "boolean",
468
+ "default": true
321
469
  },
322
470
  "MD018": {
323
- "description": "MD018/no-missing-space-atx - No space after hash on atx style heading",
471
+ "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md018.md",
324
472
  "type": "boolean",
325
473
  "default": true
326
474
  },
327
475
  "no-missing-space-atx": {
328
- "$ref": "#/properties/MD018"
476
+ "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md018.md",
477
+ "type": "boolean",
478
+ "default": true
329
479
  },
330
480
  "MD019": {
331
- "description": "MD019/no-multiple-space-atx - Multiple spaces after hash on atx style heading",
481
+ "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md019.md",
332
482
  "type": "boolean",
333
483
  "default": true
334
484
  },
335
485
  "no-multiple-space-atx": {
336
- "$ref": "#/properties/MD019"
486
+ "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md019.md",
487
+ "type": "boolean",
488
+ "default": true
337
489
  },
338
490
  "MD020": {
339
- "description": "MD020/no-missing-space-closed-atx - No space inside hashes on closed atx style heading",
491
+ "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md020.md",
340
492
  "type": "boolean",
341
493
  "default": true
342
494
  },
343
495
  "no-missing-space-closed-atx": {
344
- "$ref": "#/properties/MD020"
496
+ "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md020.md",
497
+ "type": "boolean",
498
+ "default": true
345
499
  },
346
500
  "MD021": {
347
- "description": "MD021/no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style heading",
501
+ "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md021.md",
348
502
  "type": "boolean",
349
503
  "default": true
350
504
  },
351
505
  "no-multiple-space-closed-atx": {
352
- "$ref": "#/properties/MD021"
506
+ "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md021.md",
507
+ "type": "boolean",
508
+ "default": true
353
509
  },
354
510
  "MD022": {
355
- "description": "MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines",
511
+ "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md022.md",
356
512
  "type": [
357
513
  "boolean",
358
514
  "object"
@@ -387,24 +543,52 @@
387
543
  "additionalProperties": false
388
544
  },
389
545
  "blanks-around-headings": {
390
- "$ref": "#/properties/MD022"
391
- },
392
- "blanks-around-headers": {
393
- "$ref": "#/properties/MD022"
546
+ "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md022.md",
547
+ "type": [
548
+ "boolean",
549
+ "object"
550
+ ],
551
+ "default": true,
552
+ "properties": {
553
+ "lines_above": {
554
+ "description": "Blank lines above heading",
555
+ "type": [
556
+ "integer",
557
+ "array"
558
+ ],
559
+ "items": {
560
+ "type": "integer"
561
+ },
562
+ "minimum": -1,
563
+ "default": 1
564
+ },
565
+ "lines_below": {
566
+ "description": "Blank lines below heading",
567
+ "type": [
568
+ "integer",
569
+ "array"
570
+ ],
571
+ "items": {
572
+ "type": "integer"
573
+ },
574
+ "minimum": -1,
575
+ "default": 1
576
+ }
577
+ },
578
+ "additionalProperties": false
394
579
  },
395
580
  "MD023": {
396
- "description": "MD023/heading-start-left/header-start-left - Headings must start at the beginning of the line",
581
+ "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md023.md",
397
582
  "type": "boolean",
398
583
  "default": true
399
584
  },
400
585
  "heading-start-left": {
401
- "$ref": "#/properties/MD023"
402
- },
403
- "header-start-left": {
404
- "$ref": "#/properties/MD023"
586
+ "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md023.md",
587
+ "type": "boolean",
588
+ "default": true
405
589
  },
406
590
  "MD024": {
407
- "description": "MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content",
591
+ "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md024.md",
408
592
  "type": [
409
593
  "boolean",
410
594
  "object"
@@ -425,42 +609,97 @@
425
609
  "additionalProperties": false
426
610
  },
427
611
  "no-duplicate-heading": {
428
- "$ref": "#/properties/MD024"
429
- },
430
- "no-duplicate-header": {
431
- "$ref": "#/properties/MD024"
432
- },
433
- "MD025": {
434
- "description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
612
+ "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md024.md",
435
613
  "type": [
436
614
  "boolean",
437
615
  "object"
438
616
  ],
439
617
  "default": true,
440
618
  "properties": {
441
- "level": {
442
- "description": "Heading level",
443
- "type": "integer",
444
- "minimum": 1,
445
- "maximum": 6,
446
- "default": 1
619
+ "allow_different_nesting": {
620
+ "description": "Only check sibling headings",
621
+ "type": "boolean",
622
+ "default": false
447
623
  },
448
- "front_matter_title": {
449
- "description": "RegExp for matching title in front matter",
450
- "type": "string",
624
+ "siblings_only": {
625
+ "description": "Only check sibling headings",
626
+ "type": "boolean",
627
+ "default": false
628
+ }
629
+ },
630
+ "additionalProperties": false
631
+ },
632
+ "MD025": {
633
+ "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md025.md",
634
+ "type": [
635
+ "boolean",
636
+ "object"
637
+ ],
638
+ "default": true,
639
+ "properties": {
640
+ "level": {
641
+ "description": "Heading level",
642
+ "type": "integer",
643
+ "minimum": 1,
644
+ "maximum": 6,
645
+ "default": 1
646
+ },
647
+ "front_matter_title": {
648
+ "description": "RegExp for matching title in front matter",
649
+ "type": "string",
451
650
  "default": "^\\s*title\\s*[:=]"
452
651
  }
453
652
  },
454
653
  "additionalProperties": false
455
654
  },
456
655
  "single-title": {
457
- "$ref": "#/properties/MD025"
656
+ "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md025.md",
657
+ "type": [
658
+ "boolean",
659
+ "object"
660
+ ],
661
+ "default": true,
662
+ "properties": {
663
+ "level": {
664
+ "description": "Heading level",
665
+ "type": "integer",
666
+ "minimum": 1,
667
+ "maximum": 6,
668
+ "default": 1
669
+ },
670
+ "front_matter_title": {
671
+ "description": "RegExp for matching title in front matter",
672
+ "type": "string",
673
+ "default": "^\\s*title\\s*[:=]"
674
+ }
675
+ },
676
+ "additionalProperties": false
458
677
  },
459
678
  "single-h1": {
460
- "$ref": "#/properties/MD025"
679
+ "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md025.md",
680
+ "type": [
681
+ "boolean",
682
+ "object"
683
+ ],
684
+ "default": true,
685
+ "properties": {
686
+ "level": {
687
+ "description": "Heading level",
688
+ "type": "integer",
689
+ "minimum": 1,
690
+ "maximum": 6,
691
+ "default": 1
692
+ },
693
+ "front_matter_title": {
694
+ "description": "RegExp for matching title in front matter",
695
+ "type": "string",
696
+ "default": "^\\s*title\\s*[:=]"
697
+ }
698
+ },
699
+ "additionalProperties": false
461
700
  },
462
701
  "MD026": {
463
- "description": "MD026/no-trailing-punctuation - Trailing punctuation in heading",
702
+ "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md026.md",
464
703
  "type": [
465
704
  "boolean",
466
705
  "object"
@@ -476,26 +715,43 @@
476
715
  "additionalProperties": false
477
716
  },
478
717
  "no-trailing-punctuation": {
479
- "$ref": "#/properties/MD026"
718
+ "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md026.md",
719
+ "type": [
720
+ "boolean",
721
+ "object"
722
+ ],
723
+ "default": true,
724
+ "properties": {
725
+ "punctuation": {
726
+ "description": "Punctuation characters",
727
+ "type": "string",
728
+ "default": ".,;:!。,;:!"
729
+ }
730
+ },
731
+ "additionalProperties": false
480
732
  },
481
733
  "MD027": {
482
- "description": "MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol",
734
+ "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md027.md",
483
735
  "type": "boolean",
484
736
  "default": true
485
737
  },
486
738
  "no-multiple-space-blockquote": {
487
- "$ref": "#/properties/MD027"
739
+ "description": "MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md027.md",
740
+ "type": "boolean",
741
+ "default": true
488
742
  },
489
743
  "MD028": {
490
- "description": "MD028/no-blanks-blockquote - Blank line inside blockquote",
744
+ "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md028.md",
491
745
  "type": "boolean",
492
746
  "default": true
493
747
  },
494
748
  "no-blanks-blockquote": {
495
- "$ref": "#/properties/MD028"
749
+ "description": "MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md028.md",
750
+ "type": "boolean",
751
+ "default": true
496
752
  },
497
753
  "MD029": {
498
- "description": "MD029/ol-prefix - Ordered list item prefix",
754
+ "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md029.md",
499
755
  "type": [
500
756
  "boolean",
501
757
  "object"
@@ -517,10 +773,29 @@
517
773
  "additionalProperties": false
518
774
  },
519
775
  "ol-prefix": {
520
- "$ref": "#/properties/MD029"
776
+ "description": "MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md029.md",
777
+ "type": [
778
+ "boolean",
779
+ "object"
780
+ ],
781
+ "default": true,
782
+ "properties": {
783
+ "style": {
784
+ "description": "List style",
785
+ "type": "string",
786
+ "enum": [
787
+ "one",
788
+ "ordered",
789
+ "one_or_ordered",
790
+ "zero"
791
+ ],
792
+ "default": "one_or_ordered"
793
+ }
794
+ },
795
+ "additionalProperties": false
521
796
  },
522
797
  "MD030": {
523
- "description": "MD030/list-marker-space - Spaces after list markers",
798
+ "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md030.md",
524
799
  "type": [
525
800
  "boolean",
526
801
  "object"
@@ -555,10 +830,42 @@
555
830
  "additionalProperties": false
556
831
  },
557
832
  "list-marker-space": {
558
- "$ref": "#/properties/MD030"
833
+ "description": "MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md030.md",
834
+ "type": [
835
+ "boolean",
836
+ "object"
837
+ ],
838
+ "default": true,
839
+ "properties": {
840
+ "ul_single": {
841
+ "description": "Spaces for single-line unordered list items",
842
+ "type": "integer",
843
+ "minimum": 1,
844
+ "default": 1
845
+ },
846
+ "ol_single": {
847
+ "description": "Spaces for single-line ordered list items",
848
+ "type": "integer",
849
+ "minimum": 1,
850
+ "default": 1
851
+ },
852
+ "ul_multi": {
853
+ "description": "Spaces for multi-line unordered list items",
854
+ "type": "integer",
855
+ "minimum": 1,
856
+ "default": 1
857
+ },
858
+ "ol_multi": {
859
+ "description": "Spaces for multi-line ordered list items",
860
+ "type": "integer",
861
+ "minimum": 1,
862
+ "default": 1
863
+ }
864
+ },
865
+ "additionalProperties": false
559
866
  },
560
867
  "MD031": {
561
- "description": "MD031/blanks-around-fences - Fenced code blocks should be surrounded by blank lines",
868
+ "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md031.md",
562
869
  "type": [
563
870
  "boolean",
564
871
  "object"
@@ -574,18 +881,33 @@
574
881
  "additionalProperties": false
575
882
  },
576
883
  "blanks-around-fences": {
577
- "$ref": "#/properties/MD031"
884
+ "description": "MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md031.md",
885
+ "type": [
886
+ "boolean",
887
+ "object"
888
+ ],
889
+ "default": true,
890
+ "properties": {
891
+ "list_items": {
892
+ "description": "Include list items",
893
+ "type": "boolean",
894
+ "default": true
895
+ }
896
+ },
897
+ "additionalProperties": false
578
898
  },
579
899
  "MD032": {
580
- "description": "MD032/blanks-around-lists - Lists should be surrounded by blank lines",
900
+ "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md032.md",
581
901
  "type": "boolean",
582
902
  "default": true
583
903
  },
584
904
  "blanks-around-lists": {
585
- "$ref": "#/properties/MD032"
905
+ "description": "MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md032.md",
906
+ "type": "boolean",
907
+ "default": true
586
908
  },
587
909
  "MD033": {
588
- "description": "MD033/no-inline-html - Inline HTML",
910
+ "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md033.md",
589
911
  "type": [
590
912
  "boolean",
591
913
  "object"
@@ -604,18 +926,36 @@
604
926
  "additionalProperties": false
605
927
  },
606
928
  "no-inline-html": {
607
- "$ref": "#/properties/MD033"
929
+ "description": "MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md033.md",
930
+ "type": [
931
+ "boolean",
932
+ "object"
933
+ ],
934
+ "default": true,
935
+ "properties": {
936
+ "allowed_elements": {
937
+ "description": "Allowed elements",
938
+ "type": "array",
939
+ "items": {
940
+ "type": "string"
941
+ },
942
+ "default": []
943
+ }
944
+ },
945
+ "additionalProperties": false
608
946
  },
609
947
  "MD034": {
610
- "description": "MD034/no-bare-urls - Bare URL used",
948
+ "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md034.md",
611
949
  "type": "boolean",
612
950
  "default": true
613
951
  },
614
952
  "no-bare-urls": {
615
- "$ref": "#/properties/MD034"
953
+ "description": "MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md034.md",
954
+ "type": "boolean",
955
+ "default": true
616
956
  },
617
957
  "MD035": {
618
- "description": "MD035/hr-style - Horizontal rule style",
958
+ "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md035.md",
619
959
  "type": [
620
960
  "boolean",
621
961
  "object"
@@ -631,10 +971,23 @@
631
971
  "additionalProperties": false
632
972
  },
633
973
  "hr-style": {
634
- "$ref": "#/properties/MD035"
974
+ "description": "MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md035.md",
975
+ "type": [
976
+ "boolean",
977
+ "object"
978
+ ],
979
+ "default": true,
980
+ "properties": {
981
+ "style": {
982
+ "description": "Horizontal rule style",
983
+ "type": "string",
984
+ "default": "consistent"
985
+ }
986
+ },
987
+ "additionalProperties": false
635
988
  },
636
989
  "MD036": {
637
- "description": "MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading",
990
+ "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md036.md",
638
991
  "type": [
639
992
  "boolean",
640
993
  "object"
@@ -650,37 +1003,53 @@
650
1003
  "additionalProperties": false
651
1004
  },
652
1005
  "no-emphasis-as-heading": {
653
- "$ref": "#/properties/MD036"
654
- },
655
- "no-emphasis-as-header": {
656
- "$ref": "#/properties/MD036"
1006
+ "description": "MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md036.md",
1007
+ "type": [
1008
+ "boolean",
1009
+ "object"
1010
+ ],
1011
+ "default": true,
1012
+ "properties": {
1013
+ "punctuation": {
1014
+ "description": "Punctuation characters",
1015
+ "type": "string",
1016
+ "default": ".,;:!?。,;:!?"
1017
+ }
1018
+ },
1019
+ "additionalProperties": false
657
1020
  },
658
1021
  "MD037": {
659
- "description": "MD037/no-space-in-emphasis - Spaces inside emphasis markers",
1022
+ "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md037.md",
660
1023
  "type": "boolean",
661
1024
  "default": true
662
1025
  },
663
1026
  "no-space-in-emphasis": {
664
- "$ref": "#/properties/MD037"
1027
+ "description": "MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md037.md",
1028
+ "type": "boolean",
1029
+ "default": true
665
1030
  },
666
1031
  "MD038": {
667
- "description": "MD038/no-space-in-code - Spaces inside code span elements",
1032
+ "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md038.md",
668
1033
  "type": "boolean",
669
1034
  "default": true
670
1035
  },
671
1036
  "no-space-in-code": {
672
- "$ref": "#/properties/MD038"
1037
+ "description": "MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md038.md",
1038
+ "type": "boolean",
1039
+ "default": true
673
1040
  },
674
1041
  "MD039": {
675
- "description": "MD039/no-space-in-links - Spaces inside link text",
1042
+ "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md039.md",
676
1043
  "type": "boolean",
677
1044
  "default": true
678
1045
  },
679
1046
  "no-space-in-links": {
680
- "$ref": "#/properties/MD039"
1047
+ "description": "MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md039.md",
1048
+ "type": "boolean",
1049
+ "default": true
681
1050
  },
682
1051
  "MD040": {
683
- "description": "MD040/fenced-code-language - Fenced code blocks should have a language specified",
1052
+ "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md040.md",
684
1053
  "type": [
685
1054
  "boolean",
686
1055
  "object"
@@ -704,10 +1073,31 @@
704
1073
  "additionalProperties": false
705
1074
  },
706
1075
  "fenced-code-language": {
707
- "$ref": "#/properties/MD040"
1076
+ "description": "MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md040.md",
1077
+ "type": [
1078
+ "boolean",
1079
+ "object"
1080
+ ],
1081
+ "default": true,
1082
+ "properties": {
1083
+ "allowed_languages": {
1084
+ "description": "List of languages",
1085
+ "type": "array",
1086
+ "items": {
1087
+ "type": "string"
1088
+ },
1089
+ "default": []
1090
+ },
1091
+ "language_only": {
1092
+ "description": "Require language only",
1093
+ "type": "boolean",
1094
+ "default": false
1095
+ }
1096
+ },
1097
+ "additionalProperties": false
708
1098
  },
709
1099
  "MD041": {
710
- "description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
1100
+ "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md041.md",
711
1101
  "type": [
712
1102
  "boolean",
713
1103
  "object"
@@ -730,21 +1120,63 @@
730
1120
  "additionalProperties": false
731
1121
  },
732
1122
  "first-line-heading": {
733
- "$ref": "#/properties/MD041"
1123
+ "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md041.md",
1124
+ "type": [
1125
+ "boolean",
1126
+ "object"
1127
+ ],
1128
+ "default": true,
1129
+ "properties": {
1130
+ "level": {
1131
+ "description": "Heading level",
1132
+ "type": "integer",
1133
+ "minimum": 1,
1134
+ "maximum": 6,
1135
+ "default": 1
1136
+ },
1137
+ "front_matter_title": {
1138
+ "description": "RegExp for matching title in front matter",
1139
+ "type": "string",
1140
+ "default": "^\\s*title\\s*[:=]"
1141
+ }
1142
+ },
1143
+ "additionalProperties": false
734
1144
  },
735
1145
  "first-line-h1": {
736
- "$ref": "#/properties/MD041"
1146
+ "description": "MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md041.md",
1147
+ "type": [
1148
+ "boolean",
1149
+ "object"
1150
+ ],
1151
+ "default": true,
1152
+ "properties": {
1153
+ "level": {
1154
+ "description": "Heading level",
1155
+ "type": "integer",
1156
+ "minimum": 1,
1157
+ "maximum": 6,
1158
+ "default": 1
1159
+ },
1160
+ "front_matter_title": {
1161
+ "description": "RegExp for matching title in front matter",
1162
+ "type": "string",
1163
+ "default": "^\\s*title\\s*[:=]"
1164
+ }
1165
+ },
1166
+ "additionalProperties": false
737
1167
  },
738
1168
  "MD042": {
739
- "description": "MD042/no-empty-links - No empty links",
1169
+ "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md042.md",
740
1170
  "type": "boolean",
741
1171
  "default": true
742
1172
  },
743
1173
  "no-empty-links": {
744
- "$ref": "#/properties/MD042"
1174
+ "description": "MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md042.md",
1175
+ "type": "boolean",
1176
+ "default": true
745
1177
  },
746
1178
  "MD043": {
747
- "description": "MD043/required-headings/required-headers - Required heading structure",
1179
+ "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md043.md",
748
1180
  "type": [
749
1181
  "boolean",
750
1182
  "object"
@@ -760,7 +1192,23 @@
760
1192
  },
761
1193
  "default": []
762
1194
  },
763
- "headers": {
1195
+ "match_case": {
1196
+ "description": "Match case of headings",
1197
+ "type": "boolean",
1198
+ "default": false
1199
+ }
1200
+ },
1201
+ "additionalProperties": false
1202
+ },
1203
+ "required-headings": {
1204
+ "description": "MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md043.md",
1205
+ "type": [
1206
+ "boolean",
1207
+ "object"
1208
+ ],
1209
+ "default": true,
1210
+ "properties": {
1211
+ "headings": {
764
1212
  "description": "List of headings",
765
1213
  "type": "array",
766
1214
  "items": {
@@ -777,14 +1225,8 @@
777
1225
  },
778
1226
  "additionalProperties": false
779
1227
  },
780
- "required-headings": {
781
- "$ref": "#/properties/MD043"
782
- },
783
- "required-headers": {
784
- "$ref": "#/properties/MD043"
785
- },
786
1228
  "MD044": {
787
- "description": "MD044/proper-names - Proper names should have the correct capitalization",
1229
+ "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md044.md",
788
1230
  "type": [
789
1231
  "boolean",
790
1232
  "object"
@@ -813,18 +1255,46 @@
813
1255
  "additionalProperties": false
814
1256
  },
815
1257
  "proper-names": {
816
- "$ref": "#/properties/MD044"
1258
+ "description": "MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md044.md",
1259
+ "type": [
1260
+ "boolean",
1261
+ "object"
1262
+ ],
1263
+ "default": true,
1264
+ "properties": {
1265
+ "names": {
1266
+ "description": "List of proper names",
1267
+ "type": "array",
1268
+ "items": {
1269
+ "type": "string"
1270
+ },
1271
+ "default": []
1272
+ },
1273
+ "code_blocks": {
1274
+ "description": "Include code blocks",
1275
+ "type": "boolean",
1276
+ "default": true
1277
+ },
1278
+ "html_elements": {
1279
+ "description": "Include HTML elements",
1280
+ "type": "boolean",
1281
+ "default": true
1282
+ }
1283
+ },
1284
+ "additionalProperties": false
817
1285
  },
818
1286
  "MD045": {
819
- "description": "MD045/no-alt-text - Images should have alternate text (alt text)",
1287
+ "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md045.md",
820
1288
  "type": "boolean",
821
1289
  "default": true
822
1290
  },
823
1291
  "no-alt-text": {
824
- "$ref": "#/properties/MD045"
1292
+ "description": "MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md045.md",
1293
+ "type": "boolean",
1294
+ "default": true
825
1295
  },
826
1296
  "MD046": {
827
- "description": "MD046/code-block-style - Code block style",
1297
+ "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md046.md",
828
1298
  "type": [
829
1299
  "boolean",
830
1300
  "object"
@@ -845,18 +1315,38 @@
845
1315
  "additionalProperties": false
846
1316
  },
847
1317
  "code-block-style": {
848
- "$ref": "#/properties/MD046"
1318
+ "description": "MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md046.md",
1319
+ "type": [
1320
+ "boolean",
1321
+ "object"
1322
+ ],
1323
+ "default": true,
1324
+ "properties": {
1325
+ "style": {
1326
+ "description": "Block style",
1327
+ "type": "string",
1328
+ "enum": [
1329
+ "consistent",
1330
+ "fenced",
1331
+ "indented"
1332
+ ],
1333
+ "default": "consistent"
1334
+ }
1335
+ },
1336
+ "additionalProperties": false
849
1337
  },
850
1338
  "MD047": {
851
- "description": "MD047/single-trailing-newline - Files should end with a single newline character",
1339
+ "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md047.md",
852
1340
  "type": "boolean",
853
1341
  "default": true
854
1342
  },
855
1343
  "single-trailing-newline": {
856
- "$ref": "#/properties/MD047"
1344
+ "description": "MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md047.md",
1345
+ "type": "boolean",
1346
+ "default": true
857
1347
  },
858
1348
  "MD048": {
859
- "description": "MD048/code-fence-style - Code fence style",
1349
+ "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md048.md",
860
1350
  "type": [
861
1351
  "boolean",
862
1352
  "object"
@@ -877,10 +1367,28 @@
877
1367
  "additionalProperties": false
878
1368
  },
879
1369
  "code-fence-style": {
880
- "$ref": "#/properties/MD048"
1370
+ "description": "MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md048.md",
1371
+ "type": [
1372
+ "boolean",
1373
+ "object"
1374
+ ],
1375
+ "default": true,
1376
+ "properties": {
1377
+ "style": {
1378
+ "description": "Code fence style",
1379
+ "type": "string",
1380
+ "enum": [
1381
+ "consistent",
1382
+ "backtick",
1383
+ "tilde"
1384
+ ],
1385
+ "default": "consistent"
1386
+ }
1387
+ },
1388
+ "additionalProperties": false
881
1389
  },
882
1390
  "MD049": {
883
- "description": "MD049/emphasis-style - Emphasis style should be consistent",
1391
+ "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md049.md",
884
1392
  "type": [
885
1393
  "boolean",
886
1394
  "object"
@@ -901,10 +1409,28 @@
901
1409
  "additionalProperties": false
902
1410
  },
903
1411
  "emphasis-style": {
904
- "$ref": "#/properties/MD049"
1412
+ "description": "MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md049.md",
1413
+ "type": [
1414
+ "boolean",
1415
+ "object"
1416
+ ],
1417
+ "default": true,
1418
+ "properties": {
1419
+ "style": {
1420
+ "description": "Emphasis style",
1421
+ "type": "string",
1422
+ "enum": [
1423
+ "consistent",
1424
+ "asterisk",
1425
+ "underscore"
1426
+ ],
1427
+ "default": "consistent"
1428
+ }
1429
+ },
1430
+ "additionalProperties": false
905
1431
  },
906
1432
  "MD050": {
907
- "description": "MD050/strong-style - Strong style should be consistent",
1433
+ "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md050.md",
908
1434
  "type": [
909
1435
  "boolean",
910
1436
  "object"
@@ -925,18 +1451,38 @@
925
1451
  "additionalProperties": false
926
1452
  },
927
1453
  "strong-style": {
928
- "$ref": "#/properties/MD050"
1454
+ "description": "MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md050.md",
1455
+ "type": [
1456
+ "boolean",
1457
+ "object"
1458
+ ],
1459
+ "default": true,
1460
+ "properties": {
1461
+ "style": {
1462
+ "description": "Strong style",
1463
+ "type": "string",
1464
+ "enum": [
1465
+ "consistent",
1466
+ "asterisk",
1467
+ "underscore"
1468
+ ],
1469
+ "default": "consistent"
1470
+ }
1471
+ },
1472
+ "additionalProperties": false
929
1473
  },
930
1474
  "MD051": {
931
- "description": "MD051/link-fragments - Link fragments should be valid",
1475
+ "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md051.md",
932
1476
  "type": "boolean",
933
1477
  "default": true
934
1478
  },
935
1479
  "link-fragments": {
936
- "$ref": "#/properties/MD051"
1480
+ "description": "MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md051.md",
1481
+ "type": "boolean",
1482
+ "default": true
937
1483
  },
938
1484
  "MD052": {
939
- "description": "MD052/reference-links-images - Reference links and images should use a label that is defined",
1485
+ "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md052.md",
940
1486
  "type": [
941
1487
  "boolean",
942
1488
  "object"
@@ -952,10 +1498,23 @@
952
1498
  "additionalProperties": false
953
1499
  },
954
1500
  "reference-links-images": {
955
- "$ref": "#/properties/MD052"
1501
+ "description": "MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md052.md",
1502
+ "type": [
1503
+ "boolean",
1504
+ "object"
1505
+ ],
1506
+ "default": true,
1507
+ "properties": {
1508
+ "shortcut_syntax": {
1509
+ "description": "Include shortcut syntax",
1510
+ "type": "boolean",
1511
+ "default": false
1512
+ }
1513
+ },
1514
+ "additionalProperties": false
956
1515
  },
957
1516
  "MD053": {
958
- "description": "MD053/link-image-reference-definitions - Link and image reference definitions should be needed",
1517
+ "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md053.md",
959
1518
  "type": [
960
1519
  "boolean",
961
1520
  "object"
@@ -976,125 +1535,220 @@
976
1535
  "additionalProperties": false
977
1536
  },
978
1537
  "link-image-reference-definitions": {
979
- "$ref": "#/properties/MD053"
1538
+ "description": "MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md053.md",
1539
+ "type": [
1540
+ "boolean",
1541
+ "object"
1542
+ ],
1543
+ "default": true,
1544
+ "properties": {
1545
+ "ignored_definitions": {
1546
+ "description": "Ignored definitions",
1547
+ "type": "array",
1548
+ "items": {
1549
+ "type": "string"
1550
+ },
1551
+ "default": [
1552
+ "//"
1553
+ ]
1554
+ }
1555
+ },
1556
+ "additionalProperties": false
980
1557
  },
981
- "headings": {
982
- "description": "headings - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
983
- "type": "boolean",
984
- "default": true
1558
+ "MD054": {
1559
+ "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md054.md",
1560
+ "type": [
1561
+ "boolean",
1562
+ "object"
1563
+ ],
1564
+ "default": true,
1565
+ "properties": {
1566
+ "autolink": {
1567
+ "description": "Allow autolinks",
1568
+ "type": "boolean",
1569
+ "default": true
1570
+ },
1571
+ "inline": {
1572
+ "description": "Allow inline links and images",
1573
+ "type": "boolean",
1574
+ "default": true
1575
+ },
1576
+ "full": {
1577
+ "description": "Allow full reference links and images",
1578
+ "type": "boolean",
1579
+ "default": true
1580
+ },
1581
+ "collapsed": {
1582
+ "description": "Allow collapsed reference links and images",
1583
+ "type": "boolean",
1584
+ "default": true
1585
+ },
1586
+ "shortcut": {
1587
+ "description": "Allow shortcut reference links and images",
1588
+ "type": "boolean",
1589
+ "default": true
1590
+ },
1591
+ "url_inline": {
1592
+ "description": "Allow URLs as inline links",
1593
+ "type": "boolean",
1594
+ "default": true
1595
+ }
1596
+ },
1597
+ "additionalProperties": false
985
1598
  },
986
- "headers": {
987
- "description": "headers - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
1599
+ "link-image-style": {
1600
+ "description": "MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.32.0/doc/md054.md",
1601
+ "type": [
1602
+ "boolean",
1603
+ "object"
1604
+ ],
1605
+ "default": true,
1606
+ "properties": {
1607
+ "autolink": {
1608
+ "description": "Allow autolinks",
1609
+ "type": "boolean",
1610
+ "default": true
1611
+ },
1612
+ "inline": {
1613
+ "description": "Allow inline links and images",
1614
+ "type": "boolean",
1615
+ "default": true
1616
+ },
1617
+ "full": {
1618
+ "description": "Allow full reference links and images",
1619
+ "type": "boolean",
1620
+ "default": true
1621
+ },
1622
+ "collapsed": {
1623
+ "description": "Allow collapsed reference links and images",
1624
+ "type": "boolean",
1625
+ "default": true
1626
+ },
1627
+ "shortcut": {
1628
+ "description": "Allow shortcut reference links and images",
1629
+ "type": "boolean",
1630
+ "default": true
1631
+ },
1632
+ "url_inline": {
1633
+ "description": "Allow URLs as inline links",
1634
+ "type": "boolean",
1635
+ "default": true
1636
+ }
1637
+ },
1638
+ "additionalProperties": false
1639
+ },
1640
+ "headings": {
1641
+ "description": "headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
988
1642
  "type": "boolean",
989
1643
  "default": true
990
1644
  },
991
1645
  "bullet": {
992
- "description": "bullet - MD004, MD005, MD006, MD007, MD032",
1646
+ "description": "bullet : MD004, MD005, MD007, MD032",
993
1647
  "type": "boolean",
994
1648
  "default": true
995
1649
  },
996
1650
  "ul": {
997
- "description": "ul - MD004, MD005, MD006, MD007, MD030, MD032",
1651
+ "description": "ul : MD004, MD005, MD007, MD030, MD032",
998
1652
  "type": "boolean",
999
1653
  "default": true
1000
1654
  },
1001
1655
  "indentation": {
1002
- "description": "indentation - MD005, MD006, MD007, MD027",
1656
+ "description": "indentation : MD005, MD007, MD027",
1003
1657
  "type": "boolean",
1004
1658
  "default": true
1005
1659
  },
1006
1660
  "whitespace": {
1007
- "description": "whitespace - MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039",
1661
+ "description": "whitespace : MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039",
1008
1662
  "type": "boolean",
1009
1663
  "default": true
1010
1664
  },
1011
1665
  "hard_tab": {
1012
- "description": "hard_tab - MD010",
1666
+ "description": "hard_tab : MD010",
1013
1667
  "type": "boolean",
1014
1668
  "default": true
1015
1669
  },
1016
1670
  "links": {
1017
- "description": "links - MD011, MD034, MD039, MD042, MD051, MD052, MD053",
1671
+ "description": "links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054",
1018
1672
  "type": "boolean",
1019
1673
  "default": true
1020
1674
  },
1021
1675
  "blank_lines": {
1022
- "description": "blank_lines - MD012, MD022, MD031, MD032, MD047",
1676
+ "description": "blank_lines : MD012, MD022, MD031, MD032, MD047",
1023
1677
  "type": "boolean",
1024
1678
  "default": true
1025
1679
  },
1026
1680
  "line_length": {
1027
- "description": "line_length - MD013",
1681
+ "description": "line_length : MD013",
1028
1682
  "type": "boolean",
1029
1683
  "default": true
1030
1684
  },
1031
1685
  "code": {
1032
- "description": "code - MD014, MD031, MD038, MD040, MD046, MD048",
1686
+ "description": "code : MD014, MD031, MD038, MD040, MD046, MD048",
1033
1687
  "type": "boolean",
1034
1688
  "default": true
1035
1689
  },
1036
1690
  "atx": {
1037
- "description": "atx - MD018, MD019",
1691
+ "description": "atx : MD018, MD019",
1038
1692
  "type": "boolean",
1039
1693
  "default": true
1040
1694
  },
1041
1695
  "spaces": {
1042
- "description": "spaces - MD018, MD019, MD020, MD021, MD023",
1696
+ "description": "spaces : MD018, MD019, MD020, MD021, MD023",
1043
1697
  "type": "boolean",
1044
1698
  "default": true
1045
1699
  },
1046
1700
  "atx_closed": {
1047
- "description": "atx_closed - MD020, MD021",
1701
+ "description": "atx_closed : MD020, MD021",
1048
1702
  "type": "boolean",
1049
1703
  "default": true
1050
1704
  },
1051
1705
  "blockquote": {
1052
- "description": "blockquote - MD027, MD028",
1706
+ "description": "blockquote : MD027, MD028",
1053
1707
  "type": "boolean",
1054
1708
  "default": true
1055
1709
  },
1056
1710
  "ol": {
1057
- "description": "ol - MD029, MD030, MD032",
1711
+ "description": "ol : MD029, MD030, MD032",
1058
1712
  "type": "boolean",
1059
1713
  "default": true
1060
1714
  },
1061
1715
  "html": {
1062
- "description": "html - MD033",
1716
+ "description": "html : MD033",
1063
1717
  "type": "boolean",
1064
1718
  "default": true
1065
1719
  },
1066
1720
  "url": {
1067
- "description": "url - MD034",
1721
+ "description": "url : MD034",
1068
1722
  "type": "boolean",
1069
1723
  "default": true
1070
1724
  },
1071
1725
  "hr": {
1072
- "description": "hr - MD035",
1726
+ "description": "hr : MD035",
1073
1727
  "type": "boolean",
1074
1728
  "default": true
1075
1729
  },
1076
1730
  "emphasis": {
1077
- "description": "emphasis - MD036, MD037, MD049, MD050",
1731
+ "description": "emphasis : MD036, MD037, MD049, MD050",
1078
1732
  "type": "boolean",
1079
1733
  "default": true
1080
1734
  },
1081
1735
  "language": {
1082
- "description": "language - MD040",
1736
+ "description": "language : MD040",
1083
1737
  "type": "boolean",
1084
1738
  "default": true
1085
1739
  },
1086
1740
  "spelling": {
1087
- "description": "spelling - MD044",
1741
+ "description": "spelling : MD044",
1088
1742
  "type": "boolean",
1089
1743
  "default": true
1090
1744
  },
1091
1745
  "accessibility": {
1092
- "description": "accessibility - MD045",
1746
+ "description": "accessibility : MD045",
1093
1747
  "type": "boolean",
1094
1748
  "default": true
1095
1749
  },
1096
1750
  "images": {
1097
- "description": "images - MD045, MD052, MD053",
1751
+ "description": "images : MD045, MD052, MD053, MD054",
1098
1752
  "type": "boolean",
1099
1753
  "default": true
1100
1754
  }