mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-21 22:46:10 +01:00
Update MD035/hr-style to preserve embedded spaces in thematic break markup (fixes #498).
This commit is contained in:
parent
b447c809bd
commit
7a5886b976
9 changed files with 49 additions and 10 deletions
|
|
@ -36,4 +36,4 @@ ___
|
|||
>
|
||||
> Text
|
||||
|
||||
{MD035:31} {MD035:33}
|
||||
{MD035:23} {MD035:31} {MD035:33}
|
||||
|
|
|
|||
|
|
@ -36,4 +36,4 @@ ___
|
|||
>
|
||||
> Text
|
||||
|
||||
{MD035:29} {MD035:33}
|
||||
{MD035:23} {MD035:29} {MD035:33}
|
||||
|
|
|
|||
|
|
@ -36,4 +36,4 @@ _ _ _
|
|||
>
|
||||
> Text
|
||||
|
||||
{MD035:29} {MD035:31}
|
||||
{MD035:23} {MD035:29} {MD035:31}
|
||||
|
|
|
|||
28
test/hr-style-custom.md
Normal file
28
test/hr-style-custom.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# HR Style Custom
|
||||
|
||||
Text
|
||||
|
||||
---
|
||||
{MD035:5}
|
||||
|
||||
Text
|
||||
|
||||
- - -
|
||||
{MD035:10}
|
||||
|
||||
Text
|
||||
|
||||
- - -
|
||||
|
||||
Text
|
||||
|
||||
***
|
||||
{MD035:19}
|
||||
|
||||
Text
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"hr-style": {
|
||||
"style": "- - -"
|
||||
}
|
||||
} -->
|
||||
|
|
@ -20,4 +20,5 @@ _____
|
|||
|
||||
***
|
||||
|
||||
{MD035:3} {MD035:5} {MD035:7} {MD035:13} {MD035:15} {MD035:17} {MD035:19} {MD035:21}
|
||||
{MD035:3} {MD035:5} {MD035:7} {MD035:11} {MD035:13}
|
||||
{MD035:15} {MD035:17} {MD035:19} {MD035:21}
|
||||
|
|
|
|||
|
|
@ -20,4 +20,4 @@ _____
|
|||
|
||||
***
|
||||
|
||||
{MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15} {MD035:17} {MD035:19}
|
||||
{MD035:5} {MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15} {MD035:17} {MD035:19}
|
||||
|
|
|
|||
|
|
@ -20,4 +20,4 @@ _____
|
|||
|
||||
***
|
||||
|
||||
{MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15} {MD035:17} {MD035:19}
|
||||
{MD035:5} {MD035:7} {MD035:9} {MD035:11} {MD035:13} {MD035:15} {MD035:17} {MD035:19}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue