-
Notifications
You must be signed in to change notification settings - Fork 2
/
.markdownlint.yaml
86 lines (70 loc) · 2.82 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
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
##################
## Markdownlint ##
##################
# Lint Markdown files:
# https://www.npmjs.com/package/markdownlint
# [WARNING] Ruby Markdownlint obsolete, have bugs (see comments below)
# and doesn't support at the time:
# https://rubygems.org/gems/mdl
# Blank lines in code:
# https://softwareengineering.stackexchange.com/a/17306/264224
# Rules: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md
# [DEPRECATED] In my Pelican articles I use h1 tag in page templates
# I begin section use h2 tag
# Using h1 tag is good — http://archive.li/X3d8c
# Enable, because downheader extension
# https://github.com/cprieto/mdx_downheader
# "MD002": false,
# [WARNING] Rule only for spaces indentation, show errors, if using tabs. So exclude.
MD007: false
# Allowed 2 trailing spaces in line, not 1, 3 or 4:
# https://github.com/markdownlint/markdownlint/issues/165
MD009:
br_spaces: 2
# I prefer tabs instead of spaces:
# https://softwareengineering.stackexchange.com/a/72/264224
MD010: false
# [DEPRECATED] In my Pelican articles I use h1 tag in page templates
# I begin section use h2 tag
# Using h1 tag is good — http://archive.li/X3d8c
# Enable, because downheader extension
# https://github.com/cprieto/mdx_downheader
# exclude_rule 'MD0102'
# Disable line length limitation
MD013: false
# I use MarkdownTOC autoanchoring:
# https://github.com/naokazuterada/MarkdownTOC#auto-anchoring-when-heading-has-anchor-defined
MD022: false
# MarkdownTOC generate HTMl anchors with different id's:
# https://packagecontrol.io/packages/MarkdownTOC
MD024: false
# I end headers with question marks:
# [BUG] Doesn't work, if inline HTML:
# https://github.com/markdownlint/markdownlint/issues/196
MD026:
punctuation: ".,;:!"
# [FIXME][ISSUE] This rule works incorrectly, if comments above list items
MD032: false
# Pelican features needs inline HTML support
MD033: false
# I use bare URL for Pelican article metadata variable “Og_image”.
# Open Graph — http://ruogp.me/
# Also, I use bare URL for magiclink:
# http://facelessuser.github.io/pymdown-extensions/extensions/magiclink/
MD034: false
# In my books wishlist I use construction as “*[NO_ES]*” or “[ES+]”;
# it not headers
MD036: false
# [DONE] This option works in Node Markdownlint, not Ruby mdl:
# [BUG] Temporary exclude rule before the new release:
# https://github.com/mivok/markdownlint/pull/160
# MD039: false
# In Pelican articles and pages first line — is Metadata,
# then TOC, then <a id="value"></a>, not header
MD041: false
# [INFO] I use Admonition, where I can use indented text:
# https://github.com/DavidAnson/markdownlint/blob/HEAD/doc/Rules.md#md046
MD046: false
# [FIXME][ISSUE_NEEDED] This rule incorrectly works for non-English headers:
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md051---link-fragments-should-be-valid
MD051: false