-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathschema.json
More file actions
190 lines (190 loc) · 6.15 KB
/
Copy pathschema.json
File metadata and controls
190 lines (190 loc) · 6.15 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://plugins.dprint.dev/dprint/dprint-plugin-markdown/0.0.0/schema.json",
"type": "object",
"definitions": {
"newLineKind": {
"description": "The kind of newline to use.",
"type": "string",
"default": "lf",
"oneOf": [{
"const": "auto",
"description": "For each file, uses the newline kind found at the end of the last line."
}, {
"const": "crlf",
"description": "Uses carriage return, line feed."
}, {
"const": "lf",
"description": "Uses line feed."
}, {
"const": "system",
"description": "Uses the system standard (ex. crlf on Windows)."
}]
},
"textWrap": {
"description": "Text wrapping possibilities.",
"type": "string",
"default": "maintain",
"oneOf": [{
"const": "always",
"description": "Always wraps text."
}, {
"const": "maintain",
"description": "Maintains line breaks."
}, {
"const": "never",
"description": "Never wraps text."
}]
},
"emphasisKind": {
"description": "The character to use for emphasis/italics.",
"type": "string",
"default": "underscores",
"oneOf": [{
"const": "asterisks",
"description": "Uses asterisks (*) for emphasis."
}, {
"const": "underscores",
"description": "Uses underscores (_) for emphasis."
}]
},
"strongKind": {
"description": "The character to use for strong emphasis/bold.",
"type": "string",
"default": "asterisks",
"oneOf": [{
"const": "asterisks",
"description": "Uses asterisks (**) for strong emphasis."
}, {
"const": "underscores",
"description": "Uses underscores (__) for strong emphasis."
}]
},
"unorderedListKind": {
"description": "The character to use for unordered lists.",
"type": "string",
"default": "dashes",
"oneOf": [{
"const": "dashes",
"description": "Uses dashes (-) as primary character for lists."
}, {
"const": "asterisks",
"description": "Uses asterisks (*) as primary character for lists."
}]
},
"headingKind": {
"description": "The style of heading to use for level 1 and level 2 headings. Level 3 and higher always use ATX headings.",
"type": "string",
"default": "atx",
"oneOf": [{
"const": "atx",
"description": "Uses # or ## before the heading text (ATX headings)."
}, {
"const": "setext",
"description": "Uses an underline of = or - beneath the heading text (setext headings). Only applies to level 1 and 2 headings."
}]
},
"unindentCodeBlocks": {
"description": "Whether to unindent the contents of code blocks.",
"type": "boolean",
"default": true,
"oneOf": [{
"const": true,
"description": "Removes common leading whitespace from code block contents."
}, {
"const": false,
"description": "Preserves the original indentation of code block contents."
}]
},
"listIndentKind": {
"description": "The style of indentation to use for list items. CommonMark aligns to the content column after the marker. PythonMarkdown uses a fixed 4-space indent, required by tools like mkdocs-material.",
"type": "string",
"default": "commonMark",
"oneOf": [{
"const": "commonMark",
"description": "Indents continuation lines to align with the content after the list marker (e.g. 3 spaces for '1. ', 4 for '10. ')."
}, {
"const": "pythonMarkdown",
"description": "Always indents by 4 spaces, regardless of marker width."
}]
},
"deno": {
"description": "Top level configuration that sets the configuration to what is used in Deno.",
"type": "boolean",
"default": false,
"oneOf": [{
"const": true,
"description": ""
}, {
"const": false,
"description": ""
}]
}
},
"properties": {
"locked": {
"description": "Whether the configuration is not allowed to be overridden or extended.",
"type": "boolean"
},
"lineWidth": {
"description": "The width of a line the printer will try to stay under. Note that the printer may exceed this width in certain cases.",
"default": 80,
"type": "number"
},
"newLineKind": {
"$ref": "#/definitions/newLineKind"
},
"textWrap": {
"$ref": "#/definitions/textWrap"
},
"emphasisKind": {
"$ref": "#/definitions/emphasisKind"
},
"strongKind": {
"$ref": "#/definitions/strongKind"
},
"unorderedListKind": {
"$ref": "#/definitions/unorderedListKind"
},
"headingKind": {
"$ref": "#/definitions/headingKind"
},
"unindentCodeBlocks": {
"$ref": "#/definitions/unindentCodeBlocks"
},
"listIndentKind": {
"$ref": "#/definitions/listIndentKind"
},
"deno": {
"$ref": "#/definitions/deno"
},
"ignoreDirective": {
"description": "The text to use for an ignore directive (ex. `<!-- dprint-ignore -->`).",
"default": "dprint-ignore",
"type": "string"
},
"ignoreFileDirective": {
"description": "The text to use for an ignore file directive (ex. `<!-- dprint-ignore-file -->`).",
"default": "dprint-ignore-file",
"type": "string"
},
"ignoreStartDirective": {
"description": "The text to use for an ignore start directive (ex. `<!-- dprint-ignore-start -->`).",
"default": "dprint-ignore-start",
"type": "string"
},
"ignoreEndDirective": {
"description": "The text to use for an ignore end directive (ex. `<!-- dprint-ignore-end -->`).",
"default": "dprint-ignore-end",
"type": "string"
},
"tags": {
"description": "Custom tag to file extension mappings for formatting code blocks. For example: { \"markdown\": \"md\" }",
"type": "object",
"additionalProperties": {
"type": "string",
"description": "The file extension to use when formatting code blocks with this tag."
}
}
}
}