-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint.yml
49 lines (38 loc) · 1.42 KB
/
.markdownlint.yml
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
# Markdownlint(Node.js variant) configuration file
# https://github.com/igorshubovych/markdownlint-cli#configuration
#
# This file is based on The Common Markdownlint(Node.js variant)
# Configuration Templates project
# https://github.com/the-common/markdownlint-nodejs-config-templates
#
# Copyright 2024 林博仁(Buo-ren Lin) <[email protected]>
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
# Inherit Markdownlint rules
default: True
# Only allow consistent un-ordered list bullet style(allow alternations
# in sub-levels)
ul-style:
style: sublist
# Only allow 4 spaces as indentation of lists
ul-indent:
indent: 4
# Only allow 2 spaces as linebreak sequence
no-trailing-spaces:
br_spaces: 2
# Disable line length limitation(not suitable with CJK context)
line-length: False
# Allow missing padding blank line between the heading markup and the context
blanks-around-headings: False
# Allow duplicated non-sibling heading text
no-duplicate-heading:
siblings_only: True
# Allow missing padding blank line between a list and its context
blanks-around-lists: False
# Allow using raw HTML markups as workarounds of deficiencies of Markdown
no-inline-html: False
# 佔位字是要被替換掉的,為此規則之特例
no-emphasis-as-heading: false
# Allow using YAML front matter, while not require the definition of the
# `title` property
first-line-h1:
front_matter_title: '.*'