Reimplement MD049/emphasis-style, MD050/strong-style to use micromark parser (with smaller ranges and handling of multi-line fixes).

This commit is contained in:
David Anson 2023-05-25 03:47:34 +00:00
parent e1233aad4b
commit 7005a8a438
9 changed files with 1211 additions and 348 deletions

View file

@ -34,12 +34,12 @@ Mixed __strong emphasis__ on **this** line __with__ multiple **issues** {MD050}
Inconsistent
emphasis _text {MD049}
spanning_ many
spanning_ many {MD049}
lines
Inconsistent
strong **emphasis {MD050}
spanning** many
spanning** many {MD050}
lines
Inconsistent _double_ text _interleaved_ text _double_ _interleaved_ emphasis. {MD049}

File diff suppressed because it is too large Load diff

View file

@ -68,8 +68,8 @@ text text
* Item item item
item * emphasis * item {MD037}
Text _ emphasis {MD037}
emphasis _ text {MD037}
Text * emphasis {MD037}
emphasis * text {MD037}
Text ** bold {MD037}
bold ** text {MD037}