forked from kcl-eresearch/CREATE-HPC-Training
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdstyle.rb
More file actions
31 lines (21 loc) · 860 Bytes
/
mkdstyle.rb
File metadata and controls
31 lines (21 loc) · 860 Bytes
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
all
# Set list indent level to 4 which Python-Markdown requires
rule 'MD007', :indent => 4
# Disable line length check for tables and code blocks
rule 'MD013', :line_length => 3000, :ignore_code_blocks => true, :tables => false
# Configure special behavior for MD026
rule 'MD026', :punctuation => '.,:;'
# Set Ordered list item prefix to "ordered" (use 1. 2. 3. not 1. 1. 1.)
rule 'MD029', :style => "ordered"
# Exclude code block style
exclude_rule 'MD046'
# This is broken when list items have line breaks in (would be good to fix and put back though...)
exclude_rule 'MD032'
# Exclude in-line HTML, need it for multi line entries in tables (at least)
exclude_rule 'MD033'
# Bare URLs are required in internal documentaion
exclude_rule 'MD034'
# Subjective.
exclude_rule 'MD036'
# Table header separation giving false positive
exclude_rule 'MD057'