juisy 2.1.0 → 2.3.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 (56) hide show
  1. package/LICENSE +1 -1
  2. package/bin/cli/cli.js +14 -0
  3. package/bin/cli/cmds/index.js +6 -4
  4. package/bin/cli/cmds/public/AddExt.js +49 -0
  5. package/bin/cli/cmds/public/RemoveExt.js +49 -0
  6. package/bin/cli/index.js +1 -0
  7. package/bin/cli/init.js +1 -0
  8. package/bin/cli/lib/index.js +71 -0
  9. package/dist/DataExporter.d.ts +1 -0
  10. package/dist/bootstrap.d.ts +1 -0
  11. package/dist/cli/CLIFactory.d.ts +1 -0
  12. package/dist/cli/Command.d.ts +23 -2
  13. package/dist/cli/InterfaceUtils.d.ts +11 -9
  14. package/dist/cli/OutputUtils.d.ts +30 -16
  15. package/dist/cli/Plugin.d.ts +9 -0
  16. package/dist/cli/extract-usage.d.ts +8 -0
  17. package/dist/cli/index.d.ts +1 -0
  18. package/dist/cli/index.js +193 -113
  19. package/dist/cli/plugins/command-meta/augment.d.ts +0 -3
  20. package/dist/cli/plugins/command-meta/index.d.ts +4 -0
  21. package/dist/cli/plugins/default-command-fallbacks/command-visitors/default-command-fallbacks.d.ts +1 -1
  22. package/dist/cli/plugins/default-command-fallbacks/index.d.ts +4 -0
  23. package/dist/cli/plugins/load-env-file/index.d.ts +4 -0
  24. package/dist/cli/plugins/private-commands/augment.d.ts +8 -0
  25. package/dist/cli/plugins/private-commands/command-visitors/private-command.d.ts +7 -3
  26. package/dist/cli/plugins/private-commands/index.d.ts +4 -0
  27. package/dist/cli/plugins/register-bump-version-command/index.d.ts +4 -0
  28. package/dist/cli/plugins/register-changelog-command/index.d.ts +4 -0
  29. package/dist/cli/plugins/register-docs-commands/index.d.ts +4 -0
  30. package/dist/cli/plugins/register-git-hooks-commands/index.d.ts +4 -0
  31. package/dist/cli/plugins/register-lint-commands/index.d.ts +4 -0
  32. package/dist/cli/plugins/register-lint-commands/settings.d.ts +2 -0
  33. package/dist/cli/plugins/register-lint-commands/types.d.ts +5 -9
  34. package/dist/cli/plugins/register-release-command/index.d.ts +4 -0
  35. package/dist/cli/plugins/register-test-command/index.d.ts +4 -0
  36. package/dist/cli/types.d.ts +7 -0
  37. package/dist/cli/utils.d.ts +3 -4
  38. package/dist/eject.d.ts +1 -0
  39. package/dist/get-package-info.d.ts +1 -0
  40. package/dist/index.d.ts +5 -1
  41. package/dist/index.js +192 -13
  42. package/dist/project-globals.d.ts +2 -0
  43. package/dist/shims/shims.d.ts +1440 -0
  44. package/dist/templater/index.d.ts +4 -1
  45. package/dist/templater/index.js +42 -23
  46. package/dist/templater/markdown-templater/ReadmeTemplater.d.ts +8 -10
  47. package/dist/templater/markdown-templater/index.d.ts +10 -1
  48. package/dist/utils/misc.d.ts +92 -10
  49. package/package.json +38 -44
  50. package/bin/cli/cmds/private/docs/generate-api.js +0 -31
  51. package/bin/cli/cmds/private/docs/index.js +0 -20
  52. package/bin/cli/cmds/private/test.js +0 -33
  53. package/dist/vite/plugins/inject-css-variables/index.d.ts +0 -23
  54. package/dist/vite/plugins/inject-css-variables/index.js +0 -60
  55. package/dist/vite/plugins/inject-project-globals/index.d.ts +0 -19
  56. package/dist/vite/plugins/inject-project-globals/index.js +0 -58
@@ -0,0 +1,1440 @@
1
+ export {};
2
+ declare module 'ascii-tree' {
3
+ function generate(str: string): string;
4
+ }
5
+ declare module 'jstoxml' {
6
+ function toXML(data: any, options?: Options): string;
7
+ type Options = {
8
+ /**
9
+ * Indent string, repeated n times (where n=tree depth)
10
+ */
11
+ indent?: string;
12
+ /**
13
+ * Outputs a simple XML 1.0 UTF-8 header when true. Can also be set to a custom string.
14
+ */
15
+ header?: string | boolean;
16
+ /**
17
+ * XML attribute value substrings to replace (e.g. <a attributeKey="attributeValue" />).
18
+ * Does not double encode HTML entities (e.g. &lt; is preserved and NOT converted to &amp;lt).
19
+ */
20
+ attributeReplacements?: {
21
+ '<'?: string;
22
+ '>'?: string;
23
+ '&'?: string;
24
+ '"'?: string;
25
+ };
26
+ /**
27
+ * Filters out attributes based on user-supplied function.
28
+ */
29
+ attributeFilter?: Function;
30
+ /**
31
+ * When true explicitly outputs true attribute value strings, e.g. <a foo='true' /> instead of <a foo />.
32
+ */
33
+ attributeExplicitTrue?: boolean;
34
+ /**
35
+ * Custom map function to transform XML content. Runs after contentReplacements.
36
+ */
37
+ contentMap?: Function;
38
+ /**
39
+ * XML content strings to replace (e.g. <a>This & that</a> becomes <a>This &amp; that</a>).
40
+ */
41
+ contentReplacements?: {
42
+ '<'?: string;
43
+ '>'?: string;
44
+ '&'?: string;
45
+ '"'?: string;
46
+ };
47
+ /**
48
+ * Whether tags should be self-closing.
49
+ */
50
+ selfCloseTags?: boolean;
51
+ };
52
+ }
53
+ declare module 'markdown-utils' { }
54
+ declare module 'markdownlint-cli2' {
55
+ interface MarkdownlintCLI2ConfigJSONSchema {
56
+ /**
57
+ * JSON Schema URI (expected by some editors)
58
+ */
59
+ $schema?: string;
60
+ /**
61
+ * markdownlint configuration schema :
62
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/schema/.markdownlint.jsonc
63
+ */
64
+ config?: ConfigObject;
65
+ /**
66
+ * Module names or paths of custom rules to load and use when linting :
67
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
68
+ */
69
+ customRules?: string[];
70
+ /**
71
+ * Whether to enable fixing of linting errors reported by rules that emit fix information :
72
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
73
+ */
74
+ fix?: boolean;
75
+ /**
76
+ * Regular expression used to match and ignore any front matter at the beginning of a
77
+ * document :
78
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
79
+ */
80
+ frontMatter?: string;
81
+ /**
82
+ * Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the
83
+ * root) :
84
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
85
+ */
86
+ gitignore?: boolean | string;
87
+ /**
88
+ * Glob expressions to include when linting (only valid at the root) :
89
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
90
+ */
91
+ globs?: string[];
92
+ /**
93
+ * Glob expressions to ignore when linting :
94
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
95
+ */
96
+ ignores?: string[];
97
+ /**
98
+ * markdown-it plugins to load and use when linting :
99
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
100
+ */
101
+ markdownItPlugins?: Array<any[]>;
102
+ /**
103
+ * Additional paths to resolve module locations from :
104
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
105
+ */
106
+ modulePaths?: string[];
107
+ /**
108
+ * Whether to disable the display of the banner message and version numbers on stdout (only
109
+ * valid at the root) :
110
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
111
+ */
112
+ noBanner?: boolean;
113
+ /**
114
+ * Whether to disable support of HTML comments within Markdown content :
115
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
116
+ */
117
+ noInlineConfig?: boolean;
118
+ /**
119
+ * Whether to disable the display of progress on stdout (only valid at the root) :
120
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
121
+ */
122
+ noProgress?: boolean;
123
+ /**
124
+ * Output formatters to load and use to customize markdownlint-cli2 output (only valid at
125
+ * the root) :
126
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
127
+ */
128
+ outputFormatters?: Array<any[]>;
129
+ /**
130
+ * Whether to show the list of found files on stdout (only valid at the root) :
131
+ * https://github.com/DavidAnson/markdownlint-cli2/blob/v0.16.0/README.md#markdownlint-cli2jsonc
132
+ */
133
+ showFound?: boolean;
134
+ }
135
+ /**
136
+ * markdownlint configuration schema :
137
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/schema/.markdownlint.jsonc
138
+ */
139
+ interface ConfigObject {
140
+ /**
141
+ * JSON Schema URI (expected by some editors)
142
+ */
143
+ '$schema'?: string;
144
+ /**
145
+ * accessibility : MD045
146
+ */
147
+ 'accessibility'?: boolean;
148
+ /**
149
+ * atx : MD018, MD019
150
+ */
151
+ 'atx'?: boolean;
152
+ /**
153
+ * atx_closed : MD020, MD021
154
+ */
155
+ 'atx_closed'?: boolean;
156
+ /**
157
+ * blank_lines : MD012, MD022, MD031, MD032, MD047
158
+ */
159
+ 'blank_lines'?: boolean;
160
+ /**
161
+ * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines :
162
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md031.md
163
+ */
164
+ 'blanks-around-fences'?: boolean | BlanksAroundFencesClass;
165
+ /**
166
+ * MD022/blanks-around-headings : Headings should be surrounded by blank lines :
167
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md022.md
168
+ */
169
+ 'blanks-around-headings'?: boolean | BlanksAroundHeadingsClass;
170
+ /**
171
+ * MD032/blanks-around-lists : Lists should be surrounded by blank lines :
172
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md032.md
173
+ */
174
+ 'blanks-around-lists'?: boolean;
175
+ /**
176
+ * MD058/blanks-around-tables : Tables should be surrounded by blank lines :
177
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md058.md
178
+ */
179
+ 'blanks-around-tables'?: boolean;
180
+ /**
181
+ * blockquote : MD027, MD028
182
+ */
183
+ 'blockquote'?: boolean;
184
+ /**
185
+ * bullet : MD004, MD005, MD007, MD032
186
+ */
187
+ 'bullet'?: boolean;
188
+ /**
189
+ * code : MD014, MD031, MD038, MD040, MD046, MD048
190
+ */
191
+ 'code'?: boolean;
192
+ /**
193
+ * MD046/code-block-style : Code block style :
194
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md046.md
195
+ */
196
+ 'code-block-style'?: boolean | CodeBlockStyleClass;
197
+ /**
198
+ * MD048/code-fence-style : Code fence style :
199
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md048.md
200
+ */
201
+ 'code-fence-style'?: boolean | CodeFenceStyleClass;
202
+ /**
203
+ * MD014/commands-show-output : Dollar signs used before commands without showing output :
204
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md014.md
205
+ */
206
+ 'commands-show-output'?: boolean;
207
+ /**
208
+ * Default state for all rules
209
+ */
210
+ 'default'?: boolean;
211
+ /**
212
+ * emphasis : MD036, MD037, MD049, MD050
213
+ */
214
+ 'emphasis'?: boolean;
215
+ /**
216
+ * MD049/emphasis-style : Emphasis style :
217
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md049.md
218
+ */
219
+ 'emphasis-style'?: boolean | EmphasisStyleClass;
220
+ /**
221
+ * Path to configuration file to extend
222
+ */
223
+ 'extends'?: null | string;
224
+ /**
225
+ * MD040/fenced-code-language : Fenced code blocks should have a language specified :
226
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md040.md
227
+ */
228
+ 'fenced-code-language'?: boolean | FencedCodeLanguageClass;
229
+ /**
230
+ * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level
231
+ * heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md041.md
232
+ */
233
+ 'first-line-h1'?: boolean | FirstLineH1Class;
234
+ /**
235
+ * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level
236
+ * heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md041.md
237
+ */
238
+ 'first-line-heading'?: boolean | FirstLineHeadingClass;
239
+ /**
240
+ * hard_tab : MD010
241
+ */
242
+ 'hard_tab'?: boolean;
243
+ /**
244
+ * MD001/heading-increment : Heading levels should only increment by one level at a time :
245
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md001.md
246
+ */
247
+ 'heading-increment'?: boolean;
248
+ /**
249
+ * MD023/heading-start-left : Headings must start at the beginning of the line :
250
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md023.md
251
+ */
252
+ 'heading-start-left'?: boolean;
253
+ /**
254
+ * MD003/heading-style : Heading style :
255
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md003.md
256
+ */
257
+ 'heading-style'?: boolean | HeadingStyleClass;
258
+ /**
259
+ * headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026,
260
+ * MD036, MD041, MD043
261
+ */
262
+ 'headings'?: boolean;
263
+ /**
264
+ * hr : MD035
265
+ */
266
+ 'hr'?: boolean;
267
+ /**
268
+ * MD035/hr-style : Horizontal rule style :
269
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md035.md
270
+ */
271
+ 'hr-style'?: boolean | HrStyleClass;
272
+ /**
273
+ * html : MD033
274
+ */
275
+ 'html'?: boolean;
276
+ /**
277
+ * images : MD045, MD052, MD053, MD054
278
+ */
279
+ 'images'?: boolean;
280
+ /**
281
+ * indentation : MD005, MD007, MD027
282
+ */
283
+ 'indentation'?: boolean;
284
+ /**
285
+ * language : MD040
286
+ */
287
+ 'language'?: boolean;
288
+ /**
289
+ * MD013/line-length : Line length :
290
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md013.md
291
+ */
292
+ 'line-length'?: boolean | LineLengthClass;
293
+ /**
294
+ * line_length : MD013
295
+ */
296
+ 'line_length'?: boolean;
297
+ /**
298
+ * MD051/link-fragments : Link fragments should be valid :
299
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md051.md
300
+ */
301
+ 'link-fragments'?: boolean | LinkFragmentsClass;
302
+ /**
303
+ * MD053/link-image-reference-definitions : Link and image reference definitions should be
304
+ * needed : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md053.md
305
+ */
306
+ 'link-image-reference-definitions'?: boolean | LinkImageReferenceDefinitionsClass;
307
+ /**
308
+ * MD054/link-image-style : Link and image style :
309
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md054.md
310
+ */
311
+ 'link-image-style'?: boolean | LinkImageStyleClass;
312
+ /**
313
+ * links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054
314
+ */
315
+ 'links'?: boolean;
316
+ /**
317
+ * MD005/list-indent : Inconsistent indentation for list items at the same level :
318
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md005.md
319
+ */
320
+ 'list-indent'?: boolean;
321
+ /**
322
+ * MD030/list-marker-space : Spaces after list markers :
323
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md030.md
324
+ */
325
+ 'list-marker-space'?: boolean | ListMarkerSpaceClass;
326
+ /**
327
+ * MD001/heading-increment : Heading levels should only increment by one level at a time :
328
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md001.md
329
+ */
330
+ 'MD001'?: boolean;
331
+ /**
332
+ * MD003/heading-style : Heading style :
333
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md003.md
334
+ */
335
+ 'MD003'?: boolean | MD003Class;
336
+ /**
337
+ * MD004/ul-style : Unordered list style :
338
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md004.md
339
+ */
340
+ 'MD004'?: boolean | MD004Class;
341
+ /**
342
+ * MD005/list-indent : Inconsistent indentation for list items at the same level :
343
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md005.md
344
+ */
345
+ 'MD005'?: boolean;
346
+ /**
347
+ * MD007/ul-indent : Unordered list indentation :
348
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md007.md
349
+ */
350
+ 'MD007'?: boolean | MD007Class;
351
+ /**
352
+ * MD009/no-trailing-spaces : Trailing spaces :
353
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md009.md
354
+ */
355
+ 'MD009'?: boolean | MD009Class;
356
+ /**
357
+ * MD010/no-hard-tabs : Hard tabs :
358
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md010.md
359
+ */
360
+ 'MD010'?: boolean | MD010Class;
361
+ /**
362
+ * MD011/no-reversed-links : Reversed link syntax :
363
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md011.md
364
+ */
365
+ 'MD011'?: boolean;
366
+ /**
367
+ * MD012/no-multiple-blanks : Multiple consecutive blank lines :
368
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md012.md
369
+ */
370
+ 'MD012'?: boolean | MD012Class;
371
+ /**
372
+ * MD013/line-length : Line length :
373
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md013.md
374
+ */
375
+ 'MD013'?: boolean | MD013Class;
376
+ /**
377
+ * MD014/commands-show-output : Dollar signs used before commands without showing output :
378
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md014.md
379
+ */
380
+ 'MD014'?: boolean;
381
+ /**
382
+ * MD018/no-missing-space-atx : No space after hash on atx style heading :
383
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md018.md
384
+ */
385
+ 'MD018'?: boolean;
386
+ /**
387
+ * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading :
388
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md019.md
389
+ */
390
+ 'MD019'?: boolean;
391
+ /**
392
+ * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading :
393
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md020.md
394
+ */
395
+ 'MD020'?: boolean;
396
+ /**
397
+ * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style
398
+ * heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md021.md
399
+ */
400
+ 'MD021'?: boolean;
401
+ /**
402
+ * MD022/blanks-around-headings : Headings should be surrounded by blank lines :
403
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md022.md
404
+ */
405
+ 'MD022'?: boolean | MD022Class;
406
+ /**
407
+ * MD023/heading-start-left : Headings must start at the beginning of the line :
408
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md023.md
409
+ */
410
+ 'MD023'?: boolean;
411
+ /**
412
+ * MD024/no-duplicate-heading : Multiple headings with the same content :
413
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md024.md
414
+ */
415
+ 'MD024'?: boolean | MD024Class;
416
+ /**
417
+ * MD025/single-title/single-h1 : Multiple top-level headings in the same document :
418
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md025.md
419
+ */
420
+ 'MD025'?: boolean | MD025Class;
421
+ /**
422
+ * MD026/no-trailing-punctuation : Trailing punctuation in heading :
423
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md026.md
424
+ */
425
+ 'MD026'?: boolean | MD026Class;
426
+ /**
427
+ * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol :
428
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md027.md
429
+ */
430
+ 'MD027'?: boolean;
431
+ /**
432
+ * MD028/no-blanks-blockquote : Blank line inside blockquote :
433
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md028.md
434
+ */
435
+ 'MD028'?: boolean;
436
+ /**
437
+ * MD029/ol-prefix : Ordered list item prefix :
438
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md029.md
439
+ */
440
+ 'MD029'?: boolean | MD029Class;
441
+ /**
442
+ * MD030/list-marker-space : Spaces after list markers :
443
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md030.md
444
+ */
445
+ 'MD030'?: boolean | MD030Class;
446
+ /**
447
+ * MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines :
448
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md031.md
449
+ */
450
+ 'MD031'?: boolean | MD031Class;
451
+ /**
452
+ * MD032/blanks-around-lists : Lists should be surrounded by blank lines :
453
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md032.md
454
+ */
455
+ 'MD032'?: boolean;
456
+ /**
457
+ * MD033/no-inline-html : Inline HTML :
458
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md033.md
459
+ */
460
+ 'MD033'?: boolean | MD033Class;
461
+ /**
462
+ * MD034/no-bare-urls : Bare URL used :
463
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md034.md
464
+ */
465
+ 'MD034'?: boolean;
466
+ /**
467
+ * MD035/hr-style : Horizontal rule style :
468
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md035.md
469
+ */
470
+ 'MD035'?: boolean | MD035Class;
471
+ /**
472
+ * MD036/no-emphasis-as-heading : Emphasis used instead of a heading :
473
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md036.md
474
+ */
475
+ 'MD036'?: boolean | MD036Class;
476
+ /**
477
+ * MD037/no-space-in-emphasis : Spaces inside emphasis markers :
478
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md037.md
479
+ */
480
+ 'MD037'?: boolean;
481
+ /**
482
+ * MD038/no-space-in-code : Spaces inside code span elements :
483
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md038.md
484
+ */
485
+ 'MD038'?: boolean;
486
+ /**
487
+ * MD039/no-space-in-links : Spaces inside link text :
488
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md039.md
489
+ */
490
+ 'MD039'?: boolean;
491
+ /**
492
+ * MD040/fenced-code-language : Fenced code blocks should have a language specified :
493
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md040.md
494
+ */
495
+ 'MD040'?: boolean | MD040Class;
496
+ /**
497
+ * MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level
498
+ * heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md041.md
499
+ */
500
+ 'MD041'?: boolean | MD041Class;
501
+ /**
502
+ * MD042/no-empty-links : No empty links :
503
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md042.md
504
+ */
505
+ 'MD042'?: boolean;
506
+ /**
507
+ * MD043/required-headings : Required heading structure :
508
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md043.md
509
+ */
510
+ 'MD043'?: boolean | MD043Class;
511
+ /**
512
+ * MD044/proper-names : Proper names should have the correct capitalization :
513
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md044.md
514
+ */
515
+ 'MD044'?: boolean | MD044Class;
516
+ /**
517
+ * MD045/no-alt-text : Images should have alternate text (alt text) :
518
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md045.md
519
+ */
520
+ 'MD045'?: boolean;
521
+ /**
522
+ * MD046/code-block-style : Code block style :
523
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md046.md
524
+ */
525
+ 'MD046'?: boolean | MD046Class;
526
+ /**
527
+ * MD047/single-trailing-newline : Files should end with a single newline character :
528
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md047.md
529
+ */
530
+ 'MD047'?: boolean;
531
+ /**
532
+ * MD048/code-fence-style : Code fence style :
533
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md048.md
534
+ */
535
+ 'MD048'?: boolean | MD048Class;
536
+ /**
537
+ * MD049/emphasis-style : Emphasis style :
538
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md049.md
539
+ */
540
+ 'MD049'?: boolean | MD049Class;
541
+ /**
542
+ * MD050/strong-style : Strong style :
543
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md050.md
544
+ */
545
+ 'MD050'?: boolean | MD050Class;
546
+ /**
547
+ * MD051/link-fragments : Link fragments should be valid :
548
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md051.md
549
+ */
550
+ 'MD051'?: boolean | MD051Class;
551
+ /**
552
+ * MD052/reference-links-images : Reference links and images should use a label that is
553
+ * defined : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md052.md
554
+ */
555
+ 'MD052'?: boolean | MD052Class;
556
+ /**
557
+ * MD053/link-image-reference-definitions : Link and image reference definitions should be
558
+ * needed : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md053.md
559
+ */
560
+ 'MD053'?: boolean | MD053Class;
561
+ /**
562
+ * MD054/link-image-style : Link and image style :
563
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md054.md
564
+ */
565
+ 'MD054'?: boolean | MD054Class;
566
+ /**
567
+ * MD055/table-pipe-style : Table pipe style :
568
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md055.md
569
+ */
570
+ 'MD055'?: boolean | MD055Class;
571
+ /**
572
+ * MD056/table-column-count : Table column count :
573
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md056.md
574
+ */
575
+ 'MD056'?: boolean;
576
+ /**
577
+ * MD058/blanks-around-tables : Tables should be surrounded by blank lines :
578
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md058.md
579
+ */
580
+ 'MD058'?: boolean;
581
+ /**
582
+ * MD045/no-alt-text : Images should have alternate text (alt text) :
583
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md045.md
584
+ */
585
+ 'no-alt-text'?: boolean;
586
+ /**
587
+ * MD034/no-bare-urls : Bare URL used :
588
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md034.md
589
+ */
590
+ 'no-bare-urls'?: boolean;
591
+ /**
592
+ * MD028/no-blanks-blockquote : Blank line inside blockquote :
593
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md028.md
594
+ */
595
+ 'no-blanks-blockquote'?: boolean;
596
+ /**
597
+ * MD024/no-duplicate-heading : Multiple headings with the same content :
598
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md024.md
599
+ */
600
+ 'no-duplicate-heading'?: boolean | NoDuplicateHeadingClass;
601
+ /**
602
+ * MD036/no-emphasis-as-heading : Emphasis used instead of a heading :
603
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md036.md
604
+ */
605
+ 'no-emphasis-as-heading'?: boolean | NoEmphasisAsHeadingClass;
606
+ /**
607
+ * MD042/no-empty-links : No empty links :
608
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md042.md
609
+ */
610
+ 'no-empty-links'?: boolean;
611
+ /**
612
+ * MD010/no-hard-tabs : Hard tabs :
613
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md010.md
614
+ */
615
+ 'no-hard-tabs'?: boolean | NoHardTabsClass;
616
+ /**
617
+ * MD033/no-inline-html : Inline HTML :
618
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md033.md
619
+ */
620
+ 'no-inline-html'?: boolean | NoInlineHTMLClass;
621
+ /**
622
+ * MD018/no-missing-space-atx : No space after hash on atx style heading :
623
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md018.md
624
+ */
625
+ 'no-missing-space-atx'?: boolean;
626
+ /**
627
+ * MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading :
628
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md020.md
629
+ */
630
+ 'no-missing-space-closed-atx'?: boolean;
631
+ /**
632
+ * MD012/no-multiple-blanks : Multiple consecutive blank lines :
633
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md012.md
634
+ */
635
+ 'no-multiple-blanks'?: boolean | NoMultipleBlanksClass;
636
+ /**
637
+ * MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading :
638
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md019.md
639
+ */
640
+ 'no-multiple-space-atx'?: boolean;
641
+ /**
642
+ * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol :
643
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md027.md
644
+ */
645
+ 'no-multiple-space-blockquote'?: boolean;
646
+ /**
647
+ * MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style
648
+ * heading : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md021.md
649
+ */
650
+ 'no-multiple-space-closed-atx'?: boolean;
651
+ /**
652
+ * MD011/no-reversed-links : Reversed link syntax :
653
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md011.md
654
+ */
655
+ 'no-reversed-links'?: boolean;
656
+ /**
657
+ * MD038/no-space-in-code : Spaces inside code span elements :
658
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md038.md
659
+ */
660
+ 'no-space-in-code'?: boolean;
661
+ /**
662
+ * MD037/no-space-in-emphasis : Spaces inside emphasis markers :
663
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md037.md
664
+ */
665
+ 'no-space-in-emphasis'?: boolean;
666
+ /**
667
+ * MD039/no-space-in-links : Spaces inside link text :
668
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md039.md
669
+ */
670
+ 'no-space-in-links'?: boolean;
671
+ /**
672
+ * MD026/no-trailing-punctuation : Trailing punctuation in heading :
673
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md026.md
674
+ */
675
+ 'no-trailing-punctuation'?: boolean | NoTrailingPunctuationClass;
676
+ /**
677
+ * MD009/no-trailing-spaces : Trailing spaces :
678
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md009.md
679
+ */
680
+ 'no-trailing-spaces'?: boolean | NoTrailingSpacesClass;
681
+ /**
682
+ * ol : MD029, MD030, MD032
683
+ */
684
+ 'ol'?: boolean;
685
+ /**
686
+ * MD029/ol-prefix : Ordered list item prefix :
687
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md029.md
688
+ */
689
+ 'ol-prefix'?: boolean | OlPrefixClass;
690
+ /**
691
+ * MD044/proper-names : Proper names should have the correct capitalization :
692
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md044.md
693
+ */
694
+ 'proper-names'?: boolean | ProperNamesClass;
695
+ /**
696
+ * MD052/reference-links-images : Reference links and images should use a label that is
697
+ * defined : https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md052.md
698
+ */
699
+ 'reference-links-images'?: boolean | ReferenceLinksImagesClass;
700
+ /**
701
+ * MD043/required-headings : Required heading structure :
702
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md043.md
703
+ */
704
+ 'required-headings'?: boolean | RequiredHeadingsClass;
705
+ /**
706
+ * MD025/single-title/single-h1 : Multiple top-level headings in the same document :
707
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md025.md
708
+ */
709
+ 'single-h1'?: boolean | SingleH1Class;
710
+ /**
711
+ * MD025/single-title/single-h1 : Multiple top-level headings in the same document :
712
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md025.md
713
+ */
714
+ 'single-title'?: boolean | SingleTitleClass;
715
+ /**
716
+ * MD047/single-trailing-newline : Files should end with a single newline character :
717
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md047.md
718
+ */
719
+ 'single-trailing-newline'?: boolean;
720
+ /**
721
+ * spaces : MD018, MD019, MD020, MD021, MD023
722
+ */
723
+ 'spaces'?: boolean;
724
+ /**
725
+ * spelling : MD044
726
+ */
727
+ 'spelling'?: boolean;
728
+ /**
729
+ * MD050/strong-style : Strong style :
730
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md050.md
731
+ */
732
+ 'strong-style'?: boolean | StrongStyleClass;
733
+ /**
734
+ * table : MD055, MD056, MD058
735
+ */
736
+ 'table'?: boolean;
737
+ /**
738
+ * MD056/table-column-count : Table column count :
739
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md056.md
740
+ */
741
+ 'table-column-count'?: boolean;
742
+ /**
743
+ * MD055/table-pipe-style : Table pipe style :
744
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md055.md
745
+ */
746
+ 'table-pipe-style'?: boolean | TablePipeStyleClass;
747
+ /**
748
+ * ul : MD004, MD005, MD007, MD030, MD032
749
+ */
750
+ 'ul'?: boolean;
751
+ /**
752
+ * MD007/ul-indent : Unordered list indentation :
753
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md007.md
754
+ */
755
+ 'ul-indent'?: boolean | ULIndentClass;
756
+ /**
757
+ * MD004/ul-style : Unordered list style :
758
+ * https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md004.md
759
+ */
760
+ 'ul-style'?: boolean | ULStyleClass;
761
+ /**
762
+ * url : MD034
763
+ */
764
+ 'url'?: boolean;
765
+ /**
766
+ * whitespace : MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039
767
+ */
768
+ 'whitespace'?: boolean;
769
+ }
770
+ interface MD003Class {
771
+ /**
772
+ * Heading style
773
+ */
774
+ style?: MD003Style;
775
+ }
776
+ /**
777
+ * Heading style
778
+ */
779
+ enum MD003Style {
780
+ Atx = "atx",
781
+ AtxClosed = "atx_closed",
782
+ Consistent = "consistent",
783
+ Setext = "setext",
784
+ SetextWithAtx = "setext_with_atx",
785
+ SetextWithAtxClosed = "setext_with_atx_closed"
786
+ }
787
+ interface MD004Class {
788
+ /**
789
+ * List style
790
+ */
791
+ style?: MD004Style;
792
+ }
793
+ /**
794
+ * List style
795
+ */
796
+ enum MD004Style {
797
+ Asterisk = "asterisk",
798
+ Consistent = "consistent",
799
+ Dash = "dash",
800
+ Plus = "plus",
801
+ Sublist = "sublist"
802
+ }
803
+ interface MD007Class {
804
+ /**
805
+ * Spaces for indent
806
+ */
807
+ indent?: number;
808
+ /**
809
+ * Spaces for first level indent (when start_indented is set)
810
+ */
811
+ start_indent?: number;
812
+ /**
813
+ * Whether to indent the first level of the list
814
+ */
815
+ start_indented?: boolean;
816
+ }
817
+ interface MD009Class {
818
+ /**
819
+ * Spaces for line break
820
+ */
821
+ br_spaces?: number;
822
+ /**
823
+ * Allow spaces for empty lines in list items
824
+ */
825
+ list_item_empty_lines?: boolean;
826
+ /**
827
+ * Include unnecessary breaks
828
+ */
829
+ strict?: boolean;
830
+ }
831
+ interface MD010Class {
832
+ /**
833
+ * Include code blocks
834
+ */
835
+ code_blocks?: boolean;
836
+ /**
837
+ * Fenced code languages to ignore
838
+ */
839
+ ignore_code_languages?: string[];
840
+ /**
841
+ * Number of spaces for each hard tab
842
+ */
843
+ spaces_per_tab?: number;
844
+ }
845
+ interface MD012Class {
846
+ /**
847
+ * Consecutive blank lines
848
+ */
849
+ maximum?: number;
850
+ }
851
+ interface MD013Class {
852
+ /**
853
+ * Number of characters for code blocks
854
+ */
855
+ code_block_line_length?: number;
856
+ /**
857
+ * Include code blocks
858
+ */
859
+ code_blocks?: boolean;
860
+ /**
861
+ * Number of characters for headings
862
+ */
863
+ heading_line_length?: number;
864
+ /**
865
+ * Include headings
866
+ */
867
+ headings?: boolean;
868
+ /**
869
+ * Number of characters
870
+ */
871
+ line_length?: number;
872
+ /**
873
+ * Stern length checking
874
+ */
875
+ stern?: boolean;
876
+ /**
877
+ * Strict length checking
878
+ */
879
+ strict?: boolean;
880
+ /**
881
+ * Include tables
882
+ */
883
+ tables?: boolean;
884
+ }
885
+ interface MD022Class {
886
+ /**
887
+ * Blank lines above heading
888
+ */
889
+ lines_above?: number[] | number;
890
+ /**
891
+ * Blank lines below heading
892
+ */
893
+ lines_below?: number[] | number;
894
+ }
895
+ interface MD024Class {
896
+ /**
897
+ * Only check sibling headings
898
+ */
899
+ siblings_only?: boolean;
900
+ }
901
+ interface MD025Class {
902
+ /**
903
+ * RegExp for matching title in front matter
904
+ */
905
+ front_matter_title?: string;
906
+ /**
907
+ * Heading level
908
+ */
909
+ level?: number;
910
+ }
911
+ interface MD026Class {
912
+ /**
913
+ * Punctuation characters
914
+ */
915
+ punctuation?: string;
916
+ }
917
+ interface MD029Class {
918
+ /**
919
+ * List style
920
+ */
921
+ style?: MD029Style;
922
+ }
923
+ /**
924
+ * List style
925
+ */
926
+ enum MD029Style {
927
+ One = "one",
928
+ OneOrOrdered = "one_or_ordered",
929
+ Ordered = "ordered",
930
+ Zero = "zero"
931
+ }
932
+ interface MD030Class {
933
+ /**
934
+ * Spaces for multi-line ordered list items
935
+ */
936
+ ol_multi?: number;
937
+ /**
938
+ * Spaces for single-line ordered list items
939
+ */
940
+ ol_single?: number;
941
+ /**
942
+ * Spaces for multi-line unordered list items
943
+ */
944
+ ul_multi?: number;
945
+ /**
946
+ * Spaces for single-line unordered list items
947
+ */
948
+ ul_single?: number;
949
+ }
950
+ interface MD031Class {
951
+ /**
952
+ * Include list items
953
+ */
954
+ list_items?: boolean;
955
+ }
956
+ interface MD033Class {
957
+ /**
958
+ * Allowed elements
959
+ */
960
+ allowed_elements?: string[];
961
+ }
962
+ interface MD035Class {
963
+ /**
964
+ * Horizontal rule style
965
+ */
966
+ style?: string;
967
+ }
968
+ interface MD036Class {
969
+ /**
970
+ * Punctuation characters
971
+ */
972
+ punctuation?: string;
973
+ }
974
+ interface MD040Class {
975
+ /**
976
+ * List of languages
977
+ */
978
+ allowed_languages?: string[];
979
+ /**
980
+ * Require language only
981
+ */
982
+ language_only?: boolean;
983
+ }
984
+ interface MD041Class {
985
+ /**
986
+ * RegExp for matching title in front matter
987
+ */
988
+ front_matter_title?: string;
989
+ /**
990
+ * Heading level
991
+ */
992
+ level?: number;
993
+ }
994
+ interface MD043Class {
995
+ /**
996
+ * List of headings
997
+ */
998
+ headings?: string[];
999
+ /**
1000
+ * Match case of headings
1001
+ */
1002
+ match_case?: boolean;
1003
+ }
1004
+ interface MD044Class {
1005
+ /**
1006
+ * Include code blocks
1007
+ */
1008
+ code_blocks?: boolean;
1009
+ /**
1010
+ * Include HTML elements
1011
+ */
1012
+ html_elements?: boolean;
1013
+ /**
1014
+ * List of proper names
1015
+ */
1016
+ names?: string[];
1017
+ }
1018
+ interface MD046Class {
1019
+ /**
1020
+ * Block style
1021
+ */
1022
+ style?: MD046Style;
1023
+ }
1024
+ /**
1025
+ * Block style
1026
+ */
1027
+ enum MD046Style {
1028
+ Consistent = "consistent",
1029
+ Fenced = "fenced",
1030
+ Indented = "indented"
1031
+ }
1032
+ interface MD048Class {
1033
+ /**
1034
+ * Code fence style
1035
+ */
1036
+ style?: MD048Style;
1037
+ }
1038
+ /**
1039
+ * Code fence style
1040
+ */
1041
+ enum MD048Style {
1042
+ Backtick = "backtick",
1043
+ Consistent = "consistent",
1044
+ Tilde = "tilde"
1045
+ }
1046
+ interface MD049Class {
1047
+ /**
1048
+ * Emphasis style
1049
+ */
1050
+ style?: MD049Style;
1051
+ }
1052
+ /**
1053
+ * Emphasis style
1054
+ *
1055
+ * Strong style
1056
+ */
1057
+ enum MD049Style {
1058
+ Asterisk = "asterisk",
1059
+ Consistent = "consistent",
1060
+ Underscore = "underscore"
1061
+ }
1062
+ interface MD050Class {
1063
+ /**
1064
+ * Strong style
1065
+ */
1066
+ style?: MD049Style;
1067
+ }
1068
+ interface MD051Class {
1069
+ /**
1070
+ * Ignore case of fragments
1071
+ */
1072
+ ignore_case?: boolean;
1073
+ }
1074
+ interface MD052Class {
1075
+ /**
1076
+ * Include shortcut syntax
1077
+ */
1078
+ shortcut_syntax?: boolean;
1079
+ }
1080
+ interface MD053Class {
1081
+ /**
1082
+ * Ignored definitions
1083
+ */
1084
+ ignored_definitions?: string[];
1085
+ }
1086
+ interface MD054Class {
1087
+ /**
1088
+ * Allow autolinks
1089
+ */
1090
+ autolink?: boolean;
1091
+ /**
1092
+ * Allow collapsed reference links and images
1093
+ */
1094
+ collapsed?: boolean;
1095
+ /**
1096
+ * Allow full reference links and images
1097
+ */
1098
+ full?: boolean;
1099
+ /**
1100
+ * Allow inline links and images
1101
+ */
1102
+ inline?: boolean;
1103
+ /**
1104
+ * Allow shortcut reference links and images
1105
+ */
1106
+ shortcut?: boolean;
1107
+ /**
1108
+ * Allow URLs as inline links
1109
+ */
1110
+ url_inline?: boolean;
1111
+ }
1112
+ interface MD055Class {
1113
+ /**
1114
+ * Table pipe style
1115
+ */
1116
+ style?: MD055Style;
1117
+ }
1118
+ /**
1119
+ * Table pipe style
1120
+ */
1121
+ enum MD055Style {
1122
+ Consistent = "consistent",
1123
+ LeadingAndTrailing = "leading_and_trailing",
1124
+ LeadingOnly = "leading_only",
1125
+ NoLeadingOrTrailing = "no_leading_or_trailing",
1126
+ TrailingOnly = "trailing_only"
1127
+ }
1128
+ interface BlanksAroundFencesClass {
1129
+ /**
1130
+ * Include list items
1131
+ */
1132
+ list_items?: boolean;
1133
+ }
1134
+ interface BlanksAroundHeadingsClass {
1135
+ /**
1136
+ * Blank lines above heading
1137
+ */
1138
+ lines_above?: number[] | number;
1139
+ /**
1140
+ * Blank lines below heading
1141
+ */
1142
+ lines_below?: number[] | number;
1143
+ }
1144
+ interface CodeBlockStyleClass {
1145
+ /**
1146
+ * Block style
1147
+ */
1148
+ style?: MD046Style;
1149
+ }
1150
+ interface CodeFenceStyleClass {
1151
+ /**
1152
+ * Code fence style
1153
+ */
1154
+ style?: MD048Style;
1155
+ }
1156
+ interface EmphasisStyleClass {
1157
+ /**
1158
+ * Emphasis style
1159
+ */
1160
+ style?: MD049Style;
1161
+ }
1162
+ interface FencedCodeLanguageClass {
1163
+ /**
1164
+ * List of languages
1165
+ */
1166
+ allowed_languages?: string[];
1167
+ /**
1168
+ * Require language only
1169
+ */
1170
+ language_only?: boolean;
1171
+ }
1172
+ interface FirstLineH1Class {
1173
+ /**
1174
+ * RegExp for matching title in front matter
1175
+ */
1176
+ front_matter_title?: string;
1177
+ /**
1178
+ * Heading level
1179
+ */
1180
+ level?: number;
1181
+ }
1182
+ interface FirstLineHeadingClass {
1183
+ /**
1184
+ * RegExp for matching title in front matter
1185
+ */
1186
+ front_matter_title?: string;
1187
+ /**
1188
+ * Heading level
1189
+ */
1190
+ level?: number;
1191
+ }
1192
+ interface HeadingStyleClass {
1193
+ /**
1194
+ * Heading style
1195
+ */
1196
+ style?: MD003Style;
1197
+ }
1198
+ interface HrStyleClass {
1199
+ /**
1200
+ * Horizontal rule style
1201
+ */
1202
+ style?: string;
1203
+ }
1204
+ interface LineLengthClass {
1205
+ /**
1206
+ * Number of characters for code blocks
1207
+ */
1208
+ code_block_line_length?: number;
1209
+ /**
1210
+ * Include code blocks
1211
+ */
1212
+ code_blocks?: boolean;
1213
+ /**
1214
+ * Number of characters for headings
1215
+ */
1216
+ heading_line_length?: number;
1217
+ /**
1218
+ * Include headings
1219
+ */
1220
+ headings?: boolean;
1221
+ /**
1222
+ * Number of characters
1223
+ */
1224
+ line_length?: number;
1225
+ /**
1226
+ * Stern length checking
1227
+ */
1228
+ stern?: boolean;
1229
+ /**
1230
+ * Strict length checking
1231
+ */
1232
+ strict?: boolean;
1233
+ /**
1234
+ * Include tables
1235
+ */
1236
+ tables?: boolean;
1237
+ }
1238
+ interface LinkFragmentsClass {
1239
+ /**
1240
+ * Ignore case of fragments
1241
+ */
1242
+ ignore_case?: boolean;
1243
+ }
1244
+ interface LinkImageReferenceDefinitionsClass {
1245
+ /**
1246
+ * Ignored definitions
1247
+ */
1248
+ ignored_definitions?: string[];
1249
+ }
1250
+ interface LinkImageStyleClass {
1251
+ /**
1252
+ * Allow autolinks
1253
+ */
1254
+ autolink?: boolean;
1255
+ /**
1256
+ * Allow collapsed reference links and images
1257
+ */
1258
+ collapsed?: boolean;
1259
+ /**
1260
+ * Allow full reference links and images
1261
+ */
1262
+ full?: boolean;
1263
+ /**
1264
+ * Allow inline links and images
1265
+ */
1266
+ inline?: boolean;
1267
+ /**
1268
+ * Allow shortcut reference links and images
1269
+ */
1270
+ shortcut?: boolean;
1271
+ /**
1272
+ * Allow URLs as inline links
1273
+ */
1274
+ url_inline?: boolean;
1275
+ }
1276
+ interface ListMarkerSpaceClass {
1277
+ /**
1278
+ * Spaces for multi-line ordered list items
1279
+ */
1280
+ ol_multi?: number;
1281
+ /**
1282
+ * Spaces for single-line ordered list items
1283
+ */
1284
+ ol_single?: number;
1285
+ /**
1286
+ * Spaces for multi-line unordered list items
1287
+ */
1288
+ ul_multi?: number;
1289
+ /**
1290
+ * Spaces for single-line unordered list items
1291
+ */
1292
+ ul_single?: number;
1293
+ }
1294
+ interface NoDuplicateHeadingClass {
1295
+ /**
1296
+ * Only check sibling headings
1297
+ */
1298
+ siblings_only?: boolean;
1299
+ }
1300
+ interface NoEmphasisAsHeadingClass {
1301
+ /**
1302
+ * Punctuation characters
1303
+ */
1304
+ punctuation?: string;
1305
+ }
1306
+ interface NoHardTabsClass {
1307
+ /**
1308
+ * Include code blocks
1309
+ */
1310
+ code_blocks?: boolean;
1311
+ /**
1312
+ * Fenced code languages to ignore
1313
+ */
1314
+ ignore_code_languages?: string[];
1315
+ /**
1316
+ * Number of spaces for each hard tab
1317
+ */
1318
+ spaces_per_tab?: number;
1319
+ }
1320
+ interface NoInlineHTMLClass {
1321
+ /**
1322
+ * Allowed elements
1323
+ */
1324
+ allowed_elements?: string[];
1325
+ }
1326
+ interface NoMultipleBlanksClass {
1327
+ /**
1328
+ * Consecutive blank lines
1329
+ */
1330
+ maximum?: number;
1331
+ }
1332
+ interface NoTrailingPunctuationClass {
1333
+ /**
1334
+ * Punctuation characters
1335
+ */
1336
+ punctuation?: string;
1337
+ }
1338
+ interface NoTrailingSpacesClass {
1339
+ /**
1340
+ * Spaces for line break
1341
+ */
1342
+ br_spaces?: number;
1343
+ /**
1344
+ * Allow spaces for empty lines in list items
1345
+ */
1346
+ list_item_empty_lines?: boolean;
1347
+ /**
1348
+ * Include unnecessary breaks
1349
+ */
1350
+ strict?: boolean;
1351
+ }
1352
+ interface OlPrefixClass {
1353
+ /**
1354
+ * List style
1355
+ */
1356
+ style?: MD029Style;
1357
+ }
1358
+ interface ProperNamesClass {
1359
+ /**
1360
+ * Include code blocks
1361
+ */
1362
+ code_blocks?: boolean;
1363
+ /**
1364
+ * Include HTML elements
1365
+ */
1366
+ html_elements?: boolean;
1367
+ /**
1368
+ * List of proper names
1369
+ */
1370
+ names?: string[];
1371
+ }
1372
+ interface ReferenceLinksImagesClass {
1373
+ /**
1374
+ * Include shortcut syntax
1375
+ */
1376
+ shortcut_syntax?: boolean;
1377
+ }
1378
+ interface RequiredHeadingsClass {
1379
+ /**
1380
+ * List of headings
1381
+ */
1382
+ headings?: string[];
1383
+ /**
1384
+ * Match case of headings
1385
+ */
1386
+ match_case?: boolean;
1387
+ }
1388
+ interface SingleH1Class {
1389
+ /**
1390
+ * RegExp for matching title in front matter
1391
+ */
1392
+ front_matter_title?: string;
1393
+ /**
1394
+ * Heading level
1395
+ */
1396
+ level?: number;
1397
+ }
1398
+ interface SingleTitleClass {
1399
+ /**
1400
+ * RegExp for matching title in front matter
1401
+ */
1402
+ front_matter_title?: string;
1403
+ /**
1404
+ * Heading level
1405
+ */
1406
+ level?: number;
1407
+ }
1408
+ interface StrongStyleClass {
1409
+ /**
1410
+ * Strong style
1411
+ */
1412
+ style?: MD049Style;
1413
+ }
1414
+ interface TablePipeStyleClass {
1415
+ /**
1416
+ * Table pipe style
1417
+ */
1418
+ style?: MD055Style;
1419
+ }
1420
+ interface ULIndentClass {
1421
+ /**
1422
+ * Spaces for indent
1423
+ */
1424
+ indent?: number;
1425
+ /**
1426
+ * Spaces for first level indent (when start_indented is set)
1427
+ */
1428
+ start_indent?: number;
1429
+ /**
1430
+ * Whether to indent the first level of the list
1431
+ */
1432
+ start_indented?: boolean;
1433
+ }
1434
+ interface ULStyleClass {
1435
+ /**
1436
+ * List style
1437
+ */
1438
+ style?: MD004Style;
1439
+ }
1440
+ }