Closed dnabb-drake closed 2 months ago
Hi @dnabb-drake - thanks for the support and for filing this issue :) - getting more compliant with the CommonMark and GFM specs is a continual goal for this project. I've added this to the backlog.
Hi @dnabb-drake - the behavior around links should be improved in version 1.3.0
, which was just released. Angled brackets in links and images should now resolve properly without including the '<' and '>' as part of the paths.
There's still some more work to be done before links completely follow the CommonMark Spec - namely, link title syntax is not yet supported.
If you encounter any issues while using angled bracket syntax in >= 1.3.0
, let me know. Thank you!
I'm going to go ahead and close this issue. The fix should be in all versions >= 1.3.0
. If you're still encountering this problem, please reopen. Thanks for filing!
Describe the bug When pointing to URLs which include whitespaces, it should be possible to enclose the URL in angle brackets. See commonmark example 485 and 488.
Mark Sharp seems to include the brackets in the link instead (effectively breaking the link).
To Reproduce Create two files, one with a whitespace in the filename and one without. Use the angle brackets syntax to link to them like this:
Expected behavior Angle brackets should be parsed appropriately, like VSCode built-in markdown preview does.
Screenshots
Platform (please complete the following information):