mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-12 08:34:20 +01:00
Update MD049/emphasis-style and MD050/strong-style to properly detect violations at the beginning and end of a line (fixes #1132).
This commit is contained in:
parent
f26df4743c
commit
64b9032b51
13 changed files with 436 additions and 18 deletions
|
|
@ -1,8 +1,18 @@
|
|||
# Emphasis style underscore
|
||||
|
||||
_This_ is fine
|
||||
|
||||
This _is_ fine
|
||||
|
||||
This is _fine_
|
||||
|
||||
This is *not* {MD049}
|
||||
*This* is not
|
||||
|
||||
This *is* not
|
||||
|
||||
This is *not*
|
||||
|
||||
{MD049:-2} {MD049:-4} {MD049:-6}
|
||||
|
||||
Internal emphasis is preserved:
|
||||
apple*banana*cherry, apple*banana*, *banana*cherry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue