forked from marktext/marktext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
361 lines (361 loc) · 9.08 KB
/
Copy pathschema.json
File metadata and controls
361 lines (361 loc) · 9.08 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
{
"autoSave": {
"description": "General--Automatically save the content being edited.",
"type": "boolean",
"default": false
},
"autoSaveDelay": {
"description": "General--The time in ms after a change that the file is saved.",
"type": "number",
"minimum": 1000
},
"titleBarStyle": {
"description": "General--The title bar style (Windows and Linux system only).",
"enum": [
"custom",
"native"
]
},
"openFilesInNewWindow": {
"description": "General--Open files in a new window.",
"type": "boolean"
},
"openFolderInNewWindow": {
"description": "General--Open folder via menu in a new window.",
"type": "boolean"
},
"hideScrollbar": {
"description": "General--Whether to hide scrollbars.",
"type": "boolean",
"default": false
},
"wordWrapInToc": {
"description": "General--Whether to enable word wrap in TOC.",
"type": "boolean",
"default": false
},
"aidou": {
"description": "General--Enable aidou",
"type": "boolean"
},
"fileSortBy": {
"description": "General--Sort files in opened folder by created time, modified time and title.",
"enum": [
"modified",
"created",
"title"
]
},
"startUpAction": {
"description": "General--The action after Mark Text startup, open the last edited content, open the specified folder or blank page",
"enum": [
"folder",
"lastState",
"blank"
]
},
"defaultDirectoryToOpen": {
"description": "General--The default directory that should be opened on startup when startUp=folder.",
"type": "string"
},
"language": {
"description": "General--The language Mark Text use.",
"type": "string"
},
"editorFontFamily": {
"description": "Editor--editor font family",
"type": "string",
"pattern": "^[^\\s]+((-|\\s)*[^\\s])*$"
},
"fontSize": {
"description": "Editor--Font size in pixels",
"type": "number",
"maximum": 32,
"minimum": 12,
"default": 16
},
"lineHeight": {
"description": "Editor--Line Height",
"type": "number",
"maximum": 2,
"minimum": 1.2,
"default": 1.6
},
"editorLineWidth": {
"description": "Editor--Defines the maximum editor area width. An empty string or suffixes of ch (characters), px (pixels) or % (percentage) are allowed.",
"type": "string",
"pattern": "^(?:$|[0-9]+(?:ch|px|%)$)"
},
"codeFontSize": {
"description": "Editor--Font size in code Block, the range is 12 ~ 18",
"type": "number",
"maximum": 28,
"minimum": 12,
"default": 14
},
"codeFontFamily": {
"description": "Editor--Font family used in code block",
"type": "string",
"pattern": "^[^\\s]+((-|\\s)*[^\\s])*$"
},
"codeBlockLineNumbers": {
"description": "Editor--Whether to show the line numbers",
"type": "boolean",
"default": true
},
"trimUnnecessaryCodeBlockEmptyLines": {
"description": "Editor--Trim the beginning and ending empty lines in code block",
"type": "boolean"
},
"autoPairBracket": {
"description": "Editor--Automatically brackets when editing",
"type": "boolean"
},
"autoPairMarkdownSyntax": {
"description": "Editor--Autocomplete markdown syntax",
"type": "boolean"
},
"autoPairQuote": {
"description": "Editor--Automatic completion of quotes",
"type": "boolean"
},
"endOfLine": {
"description": "Editor--The newline character used at the end of each line. The default value is default, which selects your operating system's default newline character.",
"enum": [
"default",
"lf",
"crlf"
],
"default": "default"
},
"defaultEncoding": {
"description": "Editor--The default file encoding.",
"default": "utf8",
"enum": [
"utf8",
"utf16be",
"utf16le",
"utf32be",
"utf32le",
"latin3",
"iso885915",
"cp1252",
"arabic",
"cp1256",
"latin4",
"cp1257",
"iso88592",
"windows1250",
"cp866",
"iso88595",
"koi8r",
"koi8u",
"cp1251",
"iso885913",
"greek",
"cp1253",
"hebrew",
"cp1255",
"latin5",
"cp1254",
"gb2312",
"gb18030",
"gbk",
"big5",
"big5hkscs",
"shiftjis",
"eucjp",
"euckr",
"latin6"
]
},
"autoGuessEncoding": {
"description": "Editor--Try to automatically guess the file encoding when opening files.",
"type": "boolean",
"default": true
},
"trimTrailingNewline": {
"description": "Editor--The trim trailing newline option.",
"default": 2,
"enum": [
0,
1,
2,
3
]
},
"textDirection": {
"description": "Editor--The writing text direction",
"enum": [
"ltr",
"rtl"
]
},
"hideQuickInsertHint": {
"description": "Editor--Hide hint for quickly creating paragraphs",
"type": "boolean"
},
"hideLinkPopup": {
"description": "Editor--Hide link popup when the cursor is hover on the link",
"type": "boolean",
"default": false
},
"autoCheck": {
"description": "Editor--Whether to automatically check related task.",
"type": "boolean",
"default": false
},
"preferLooseListItem": {
"description": "Markdown--The preferred list type",
"type": "boolean"
},
"bulletListMarker": {
"description": "Markdown--The marker used in bullet list",
"enum": [
"-",
"*",
"+"
]
},
"orderListDelimiter": {
"description": "Markdown--The dilimiter used in order list",
"enum": [
".",
")"
]
},
"preferHeadingStyle": {
"description": "Markdown--The preferred heading style in Mark Text",
"enum": [
"atx",
"setext"
]
},
"tabSize": {
"description": "Markdown--Replace the tab with x spaces",
"type": "number"
},
"listIndentation": {
"description": "Markdown--Select the indent of list",
"enum": [
"dfm",
"tab",
1,
2,
3,
4
]
},
"frontmatterType": {
"description": "Markdown--The frontmatter type",
"enum": [
"-",
"+",
";",
"{"
]
},
"superSubScript": {
"description": "Markdown-Enable pandoc's markdown extension superscript and subscript.",
"type": "boolean",
"default": false
},
"footnote": {
"description": "Markdown-Enable pandoc's markdown extension footnote.",
"type": "boolean",
"default": false
},
"sequenceTheme": {
"description": "Markdown--Sequence diagram theme",
"enum": [
"hand",
"simple"
]
},
"theme": {
"description": "Theme--Select the theme used in Mark Text",
"type": "string"
},
"autoSwitchTheme": {
"description": "Theme--Automatically adjust application theme according system.",
"default": 2,
"enum": [
0,
1,
2
]
},
"spellcheckerEnabled": {
"description": "Spelling--Whether spell checking is enabled.",
"type": "boolean",
"default": false
},
"spellcheckerIsHunspell": {
"description": "Spelling--Whether Hunspell or the OS spell checker is used (macOS only).",
"type": "boolean",
"default": false
},
"spellcheckerNoUnderline": {
"description": "Spelling--Don't underline spelling mistakes.",
"type": "boolean",
"default": false
},
"spellcheckerAutoDetectLanguage": {
"description": "Spelling--Try to automatically identify the used language when typing.",
"type": "boolean",
"default": false
},
"spellcheckerLanguage": {
"description": "Spelling--The spell checker language",
"pattern": "^[a-z]{2}(?:[-][A-Z]{2})?$",
"default": "en-US"
},
"imageInsertAction": {
"description": "Image--The default behavior after insert image from local folder",
"enum": [
"upload",
"folder",
"path"
]
},
"sideBarVisibility": {
"description": "View--Whether the side bar is visible.",
"type": "boolean"
},
"tabBarVisibility": {
"description": "View--Whether the tabs are shown.",
"type": "boolean"
},
"sourceCodeModeEnabled": {
"description": "View--Whether the source-code mode is enabled by default.",
"type": "boolean"
},
"searchExclusions": {
"description": "Searcher--List of glob patterns to exclude from search.",
"type": "array",
"items": {
"type": "string"
}
},
"searchMaxFileSize": {
"description": "Searcher--The maximal file size (<maxFileSize><suffix>). Suffixes of K, M or G are allowed if not suffix is given the number is treated as bytes.",
"type": "string",
"pattern": "^(?:$|[0-9]+(?:K|M|G)?$)"
},
"searchIncludeHidden": {
"description": "Searcher--Whether to search in hidden files and directories.",
"type": "boolean"
},
"searchNoIgnore": {
"description": "Searcher--Whether to ignore ignore files like .gitignore.",
"type": "boolean"
},
"searchFollowSymlinks": {
"description": "Searcher--Whether symlinks should be followed.",
"type": "boolean"
},
"watcherUsePolling": {
"description": "Watcher--Whether to use polling. Polling may leads to high CPU utilization but is necessary to watch files over a network.",
"type": "boolean"
}
}