markdownlint/test/reversed_link.md

35 lines
811 B
Markdown
Raw Normal View History

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}