Dot prefix in markdown link ancors
It sees the dot as a sentence ending, if I choose to fix it I get
This was a little difficult to replicate, but here is a reduced example that seems to cause this:
Run [.pre-commit.sh].
[.pre-commit.sh]: https://example.com
Notably, this requires that link at the bottom, and the issue will not occur without it. This also does not occur if the label for the link at the bottom doesn't match the one in the sentence.
Interestingly, when the labels match (and we get the problematic lint) it seems that the open and close brackets in Run [.pre-commit.sh] don't get parsed. When the labels don't match on the other hand, the brackets get parsed. This is visible by running the problematic text through harper-cli spans or harper-cli parse.
Out of curiosity, is it possible to put the anchor in a code block?
For example:
Run [`.pre-commit.sh`].
[`.pre-commit.sh`]: https://example.com