-
Notifications
You must be signed in to change notification settings - Fork 228
/
.markdownlint.yaml
28 lines (22 loc) · 1.14 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
# see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for docs
# Default state for all rules
default: true
# Path to configuration file to extend
extends: null
# MD004 - Unordered list style
# We want to use dashes consistently everywhere
MD004:
style: dash
# MD013 - Line length
# We do not want to artificially limit line lengh in a language like markdown because of the nature of the language's handling of whitespace. Line wrapping is just a fact of life in markdown and trying to impose the conventions of other languages on markdown is an impedance mismatch that leads to people thinking that whitespace in markdown is more representative of the rendered HTML than it really is.
MD013: false
# MD033 - Inline HTML
MD033:
allowed_elements:
- details # there is no markdown equivalent for accordions
- summary # there is no markdown equivalent for accordions
- pre # necessary for code fences in markdown tables
# MD029 - Ordered list item prefix
# Plain and simple, markdown parsers do not respect the numbering you use for ordered lists. It only leads to confusion and misconception to allow otherwise.
MD029:
style: one