mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-19 19:48:07 +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
38
test/code-blocks-and-spans.md
Normal file
38
test/code-blocks-and-spans.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Code Blocks and Spans {MD044}
|
||||
|
||||
Text CODE text {MD044}
|
||||
|
||||
Text `CODE` text
|
||||
|
||||
```lang
|
||||
CODE
|
||||
|
||||
CODE
|
||||
```
|
||||
|
||||
`CODE` text `CODE`
|
||||
|
||||
CODE
|
||||
|
||||
CODE
|
||||
|
||||
Text `CODE
|
||||
CODE` text
|
||||
text text
|
||||
text `CODE
|
||||
CODE CODE
|
||||
CODE` text
|
||||
|
||||
Text `CODE {MD044}
|
||||
|
||||
Text `CODE {MD044}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"proper-names": {
|
||||
"names": [
|
||||
"code"
|
||||
],
|
||||
"code_blocks": false
|
||||
},
|
||||
"code-block-style": false
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue