mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-16 10:18:06 +01:00
Update MD025/single-title to ignore preceding blank lines and comments when looking for a title (top-level heading) (fixes #1420).
This commit is contained in:
parent
cb39972d9b
commit
5fc91f6977
6 changed files with 123 additions and 15 deletions
4
test/heading-multiple-top-level-preceding-comment.md
Normal file
4
test/heading-multiple-top-level-preceding-comment.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!-- Comment -->
|
||||
# Heading 1
|
||||
|
||||
# Heading 2 {MD025}
|
||||
Loading…
Add table
Add a link
Reference in a new issue