Add support for references when no [] exists#144781
Conversation
|
Thanks for taking a look! Can you please also add tests for this: In the tests, also try adding test for potential edge cases or false positives where link detection should not occur I'm also inclined to say that the link detection should not kick in for |
|
Will do! |
|
Sorry for the delay. Should be ready for review! |
mjbvz
left a comment
There was a problem hiding this comment.
Looks reasonable overall. Thanks for following up!
Can you please remove the binary file added under ./scripts though? Looks like it was committed by mistake
|
Whoops! My bad for littering. Should be fixed, thanks for the heads up! |
|
Thanks! Will be in the next insiders build |
This PR fixes #141285
Code has been updated with the
mainbranch and I have personally reviewed it.Changes
Alters the regex to match [...] and [...][...]. Treats [...] as if it's the same as [...][].
Testing
On the feature branch:
Markdown: Open Previewfrom the Command Palette.Expected Output