mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-14 09:34:21 +01:00
Reimplement inlineCodeSpanRanges as codeBlockAndSpanRanges to fix an issue with unterminated code spans (and for flexibility).
This commit is contained in:
parent
9c60343692
commit
1e82f76596
12 changed files with 178 additions and 71 deletions
|
|
@ -96,3 +96,25 @@ Text **\<base directory>\another\directory\\<slash/directory>** text
|
|||
<a href="https://example.com" target="_blank">Google</a> {MD033}
|
||||
|
||||
<a href="https://example.com:9999" target="_blank">Google</a> {MD033}
|
||||
|
||||
## Unterminated code span followed by element in code span
|
||||
|
||||
Text text `text text
|
||||
|
||||
Text `<element>` text
|
||||
|
||||
Text
|
||||
text `text
|
||||
text
|
||||
|
||||
Text `code <element> code` text
|
||||
|
||||
```lang
|
||||
code {MD046:112}
|
||||
|
||||
<element>
|
||||
```
|
||||
|
||||
Text `code <element> code` text
|
||||
|
||||
Text <element> text {MD033}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue