mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Add MD037 with tests, improve handling of line numbers for inlines.
This commit is contained in:
parent
bd7e712728
commit
b85e53a9c4
6 changed files with 108 additions and 21 deletions
35
test/spaces_inside_emphasis_markers.md
Normal file
35
test/spaces_inside_emphasis_markers.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
Line with *Normal emphasis*
|
||||
|
||||
Line with **Normal strong**
|
||||
|
||||
Line with _Normal emphasis_
|
||||
|
||||
Line with __Normal strong__
|
||||
|
||||
Broken * emphasis * with spaces in {MD037}
|
||||
|
||||
Broken ** strong ** with spaces in {MD037}
|
||||
|
||||
Broken _ emphasis _ with spaces in {MD037}
|
||||
|
||||
Broken __ strong __ with spaces in {MD037}
|
||||
|
||||
Mixed *ok emphasis* and * broken emphasis * {MD037}
|
||||
|
||||
Mixed **ok strong** and ** broken strong ** {MD037}
|
||||
|
||||
Mixed _ok emphasis_ and _ broken emphasis _ {MD037}
|
||||
|
||||
Mixed __ok strong__ and __ broken strong __ {MD037}
|
||||
|
||||
Mixed *ok emphasis* **ok strong** * broken emphasis * {MD037}
|
||||
|
||||
Multiple * broken emphasis * _ broken emphasis _ {MD037}
|
||||
|
||||
One-sided *broken emphasis * {MD037}
|
||||
|
||||
One-sided * broken emphasis* {MD037}
|
||||
|
||||
Don't _flag on _words with underscores before them.
|
||||
|
||||
The same goes for words* with asterisks* after them.
|
||||
Loading…
Add table
Add a link
Reference in a new issue