mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-13 05:36:13 +01:00
Update MD049/emphasis-style and MD050/strong-style to not report intraword asterisks/underscores as violations because exchanging either alters meaning (fixes #789).
This commit is contained in:
parent
7005a8a438
commit
0006636f75
8 changed files with 77 additions and 22 deletions
|
|
@ -4,7 +4,12 @@ This is _fine_
|
|||
|
||||
This is *not* {MD049}
|
||||
|
||||
Internal emphasis is preserved:
|
||||
apple*banana*cherry, apple*banana*, *banana*cherry
|
||||
apple_banana_cherry, apple_banana_, _banana_cherry
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"MD037": false,
|
||||
"MD049": {
|
||||
"style": "underscore"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue