forked from vuepress-theme-hope/vuepress-theme-hope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint-cli2.mjs
70 lines (70 loc) · 1.26 KB
/
.markdownlint-cli2.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
export default {
config: {
default: true,
MD003: {
style: "atx",
},
MD004: {
style: "dash",
},
MD013: false,
MD024: {
siblings_only: true,
},
MD033: {
allowed_elements: [
"div",
"span",
"br",
"template",
"script",
"style",
"iframe",
"ArtPlayer",
"AudioPlayer",
"AutoCatalog",
"Badge",
"BiliBili",
"Catalog",
"CodePen",
"DemoProject",
"FontIcon",
"HighlightPanel",
"ProjectLink",
"PDF",
"Replit",
"Share",
"SiteInfo",
"StackBlitz",
"XiGua",
"VPBanner",
"VPCard",
"VidStack",
"VideoPlayer",
"YouTube",
"MyComponent",
"AppearanceSwitch",
"HopeIcon",
"FlowChartPlayground",
"IconDisplay",
"KatexPlayground",
"PrintButton",
"ThemeColorPicker",
"ToggleFullScreenButton",
"ToggleRTLButton",
],
},
MD035: {
style: "---",
},
MD040: false,
MD046: false,
MD049: false,
},
ignores: [
"**/node_modules/**",
"**/__tests__/**",
// markdown import demo
"**/*.snippet.md",
],
};