Update MD011/no-reversed-links to avoid more nested paren scenarios (fixes #572).

This commit is contained in:
David Anson 2022-10-16 22:16:51 -07:00
parent 56f379b0fc
commit c333976a44
5 changed files with 69 additions and 25 deletions

View file

@ -72,6 +72,18 @@ text [link](destination)[link](destination)[link](destination) text
text (reversed)[link] text (reversed)[link] text {MD011}
## Nested Parens
Text (text `func()[index]`) text
Text (text(reversed)[link] text {MD011}
## Empty Content
Text ()[text] text
Text (text()[text] text
<!-- markdownlint-configure-file {
"code-block-style": false,
"line-length": false,