mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 08:20:12 +01:00
34 lines
811 B
Markdown
34 lines
811 B
Markdown
Go to (this website)[https://www.example.com] {MD011}
|
|
|
|
However, this shouldn't trigger inside code blocks:
|
|
|
|
myObj.getFiles("test")[0]
|
|
|
|
Nor inline code: `myobj.getFiles("test")[0]`
|
|
|
|
Two (issues)[https://www.example.com/one] in {MD011}
|
|
the (same text)[https://www.example.com/two]. {MD011}
|
|
|
|
<!-- markdownlint-disable line-length -->
|
|
Two (issues)[https://www.example.com/three] on the (same line)[https://www.example.com/four]. {MD011}
|
|
|
|
`code code
|
|
code`
|
|
(reversed)[link] {MD011}
|
|
|
|
text
|
|
text `code
|
|
code code
|
|
code` text
|
|
text
|
|
text (reversed)[link] text {MD011}
|
|
|
|
## Escaped JavaScript Content
|
|
|
|
var IDENT_RE = '([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*'; {MD011}
|
|
|
|
begin: /\B(([\/.])[\w\-.\/=]+)+/, {MD011}
|
|
|
|
{begin: '%r\\(', end: '\\)[a-z]*'} {MD011}
|
|
|
|
return /(?:(?:(^|\/)[!.])|[*?+()|\[\]{}]|[+@]\()/.test(str); {MD011}
|