mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Reimplement MD037/no-space-in-emphasis using micromark tokens, report start/end separately for smaller edit spans, remove markdown-it-texmath (fixes #533, fixes #597).
This commit is contained in:
parent
e86fb7699d
commit
73b9704159
20 changed files with 1784 additions and 2502 deletions
|
|
@ -125,32 +125,51 @@ Uncommon scenarios from the CommonMark specification (and some variations):
|
|||
*in emph **strong***
|
||||
|
||||
*** strong emph*** {MD037}
|
||||
*** strong** in emph* {MD037}
|
||||
*** emph* in strong** {MD037}
|
||||
|
||||
*** strong** in emph* {possible MD037}
|
||||
|
||||
*** emph* in strong** {possible MD037}
|
||||
|
||||
** in strong *emph*** {MD037}
|
||||
|
||||
***strong emph *** {MD037}
|
||||
|
||||
***strong** in emph * {MD037}
|
||||
|
||||
***emph* in strong ** {MD037}
|
||||
**in strong *emph *** {MD037}
|
||||
*in emph **strong *** {MD037}
|
||||
|
||||
**in strong *emph *** {possible MD037}
|
||||
|
||||
*in emph **strong *** {possible MD037}
|
||||
|
||||
** *strong emph*** {MD037}
|
||||
|
||||
** *strong** in emph* {MD037}
|
||||
|
||||
** *emph* in strong** {MD037}
|
||||
|
||||
**in strong * emph*** (internal spaces are not detected)
|
||||
|
||||
*in emph ** strong*** (internal spaces are not detected)
|
||||
|
||||
***strong emph* ** {MD037}
|
||||
|
||||
***strong ** in emph* (internal spaces are not detected)
|
||||
|
||||
***emph * in strong** (internal spaces are not detected)
|
||||
|
||||
**in strong *emph* ** {MD037}
|
||||
|
||||
*in emph **strong* ** {MD037}
|
||||
|
||||
Text *emph***strong** text
|
||||
|
||||
Text * emph***strong** text {MD037}
|
||||
Text *emph ***strong** text (internal spaces are not detected)
|
||||
Text *emph*** strong** text (internal spaces are not detected)
|
||||
|
||||
Text *emph ***strong** text {MD037}
|
||||
|
||||
Text *emph*** strong** text {MD037}
|
||||
|
||||
Text *emph***strong ** text {MD037}
|
||||
|
||||
```markdown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue