Closed lyndhurst closed 2 years ago
Hi @lyndhurst, I might be able to add URL fragment support and expand mkdxLink
a bit to support more links that GitHub also recognizes when typing markdown. It won't allow you to simply "omit" https://
though. It would still need to be prefixed with at least www.
then for example (this is what GitHub supports).
Users will also not really be able to type mail.google.com
and have it show up as a link since that would introduce way to many false-positives in the scanning process :)
Nice, thank you. The fragment link case was the main reason I opened the issue, the second case was just a thought. :+1:
Should be good now, managed to make it quite a bit more flexible so it handles common prefixes like ww1.somewhere.com
:
For reference, this is how each of these links is parsed by GH:
Thank you for being so reactive (as always!), I will only be able to check it tomorrow or later tonight though. The extra parsing reference are a nice piece of info too, cheers :+1:
I do my best, thank you for the appreciation! And by all means, if the issue is not fixed, please do reopen or request for me to reopen if you can't 👍
Hi,
I was wondering if it could be possible to include two edge cases in the mkdxLink highlight group.
#
anchor symbol Example:https://www.blog.com/post#section
https://
altogether Example:www.google.com
I hope it is not too much trouble, thank you for your time.