mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 18:29:18 +08:00
65020fdf7f
Backport #27500 by @silverwind Duplicate headers in a single Markdown document are problemlematic because the auto-generated links won't be stable. Enable this rule with no exceptions which is also the default of `markdownlint`. For example: ```md # A ## Example # B ## Example ``` Docasaurus will generated `example` and `example-1` links for this. If the first heading is altered, the link `example` will unexpectedly move to the second example heading. Ref: https://github.com/go-gitea/gitea/pull/27461#discussion_r1347987659 Co-authored-by: silverwind <me@silverwind.io>
18 lines
490 B
YAML
18 lines
490 B
YAML
commands-show-output: false
|
|
fenced-code-language: false
|
|
first-line-h1: false
|
|
header-increment: false
|
|
line-length: {code_blocks: false, tables: false, stern: true, line_length: -1}
|
|
no-alt-text: false
|
|
no-bare-urls: false
|
|
no-blanks-blockquote: false
|
|
no-emphasis-as-header: false
|
|
no-empty-links: false
|
|
no-hard-tabs: {code_blocks: false}
|
|
no-inline-html: false
|
|
no-space-in-code: false
|
|
no-space-in-emphasis: false
|
|
no-trailing-punctuation: false
|
|
no-trailing-spaces: {br_spaces: 0}
|
|
single-h1: false
|