mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add MD023, MD024, MD025 with tests.
This commit is contained in:
parent
2b289ab5f3
commit
1112ac729d
5 changed files with 80 additions and 0 deletions
11
test/header_duplicate_content.md
Normal file
11
test/header_duplicate_content.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Header 1
|
||||
|
||||
## Header 2
|
||||
|
||||
## Header 1
|
||||
|
||||
### Header 2
|
||||
|
||||
## Header 3
|
||||
|
||||
{MD024:5} {MD024:7}
|
||||
3
test/header_multiple_toplevel.md
Normal file
3
test/header_multiple_toplevel.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Heading 1
|
||||
|
||||
# Heading 2 {MD025}
|
||||
4
test/headers_with_spaces_at_the_beginning.json
Normal file
4
test/headers_with_spaces_at_the_beginning.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD003": false
|
||||
}
|
||||
9
test/headers_with_spaces_at_the_beginning.md
Normal file
9
test/headers_with_spaces_at_the_beginning.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Some text
|
||||
|
||||
# Header 1 {MD023}
|
||||
|
||||
Setext style fully indented {MD023}
|
||||
===================================
|
||||
|
||||
Setext style title only indented {MD023}
|
||||
=========================================
|
||||
Loading…
Add table
Add a link
Reference in a new issue