-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.markdownlint.yaml
42 lines (34 loc) · 1.13 KB
/
.markdownlint.yaml
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
# For more info on markdown lint configurations, see also
# https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
# https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md
default: true
line-length:
line_length: 80
tables: false
code_blocks: false
# Use #-style section headings without the ending # marks, as that can
# cause problems working with the Samples Browser.
header-style:
style: atx
# Allow bare URLs since they work well in GitHub renderings.
no-bare-urls: false
# Require unordered lists to be typeset with dashes.
ul-style:
style: dash
# Allow duplicate headings if they are not siblings.
no-duplicate-heading:
siblings_only: true
# Allow selective inline markdown
no-inline-html:
allowed_elements: [br, h1, sup, sub]
# Allow exclamation mark and question marks in headings
no-emphasis-as-heading:
punctuation: ".,;:。,;:!"
# MD007/ul-indent - Unordered list indentation
MD007:
# Spaces for indent
indent: 4
# Whether to indent the first level of the list
start_indented: false
# Spaces for first level indent (when start_indented is set)
start_indent: 2