forked from ppy/osu-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.remarkrc.js
49 lines (49 loc) · 1.65 KB
/
.remarkrc.js
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
module.exports = {
settings: {
commonmark: true,
emphasis: '*',
fences: true,
listItemIndent: '1',
rule: '-',
ruleSpaces: false,
tablePipeAlign: false,
tightDefinitions: true,
},
plugins: [
'preset-lint-markdown-style-guide',
['frontmatter', {type: 'yaml', marker: '-'}],
['lint-definition-case', false],
['lint-fenced-code-flag', {allowEmpty: true}],
['lint-final-definition', false],
['lint-final-newline'],
['lint-hard-break-spaces', false],
['lint-hard-break-style', 'backslash'],
['lint-linebreak-style', 'unix'],
['lint-list-item-indent', 'space'],
['lint-list-item-spacing', {checkBlanks: true}],
['lint-maximum-heading-length', false],
['lint-maximum-line-length', false],
['lint-no-file-name-outer-dashes', false],
['lint-no-duplicate-definitions'],
['lint-no-duplicate-headings', false],
['lint-no-duplicate-headings-in-section'],
['lint-no-emphasis-as-heading', false],
['lint-no-file-name-articles', false],
['lint-no-file-name-consecutive-dashes', false],
['lint-no-file-name-irregular-characters', '\\.a-zA-Z0-9-_!'],
['lint-no-file-name-mixed-case', false],
['lint-no-heading-content-indent'],
['lint-no-heading-indent'],
['lint-no-heading-like-paragraph'],
['lint-no-html'],
['lint-no-missing-blank-lines', {exceptTightLists: true}],
['lint-no-shortcut-reference-link', false],
['lint-no-tabs'],
['lint-no-undefined-references'],
['lint-no-unused-definitions'],
['lint-ordered-list-marker-value', 'ordered'],
['lint-osu-links'],
['lint-osu-wiki-links'],
['lint-table-pipe-alignment', false],
],
};