Open noraj opened 5 years ago
I tried to add a regular expression to ignore link paths using the text notation, but it doesn't work:
(?<=\\[[^\\]]+\\])\\([^\\)]+\\)
This same expression does match links in powershell (after unescaping all the \ chars), so either the grammar is different or there is some limitation in the spell-checker.
Maybe an expression ignoring just the identifiers would work better.
@johnddx Your regex will match [this is a link](https://example.org)
, but not [this is a link][link]
.
Try the following:
"ignoreRegExpList": [
"/(?<=\\])\\[[^\\]]+\\]/",
"/\\[[^\\]]+\\]:/"
]
I will add this to the default behavior of the spell checker.
I will add this to the default behavior of the spell checker.
maybe add it as an optional behavior
For markdown files, there should be an option to ignore link identifier. They are meant to be identifier not true words.