Perlite icon indicating copy to clipboard operation
Perlite copied to clipboard

Image links to external URLS dont work

Open NotGovernor opened this issue 2 years ago • 3 comments

Describe the bug Image links to external URLS dont work.

To Reproduce Craft a link like the following that wraps a local image with an external URL.

[![[files/Image.jpg]]](https://website.com)

Expected behavior The image is linked.

Actual The image is rendered but the link url is placed outside with the square brackets visible.

NotGovernor avatar May 31 '23 20:05 NotGovernor

I'm not sure if this is really a bug or not but embedding external images is working fine if you specify the full path in the link section and don't split it.

Example, this is working

![Minion](https://octodex.github.com/images/minion.png)

Also I can't see any advantage of splitting the image link so I won't fix this.

secure-77 avatar Jan 10 '24 11:01 secure-77

This bug might have been misunderstood. The goal is to show an image (local or remote doesnt matter) that when clicked opens an external URL.

From my example ![[files/Image.jpg]] is the image. In this case a local one, but that's not the problem being raised. It's when you then wrap that in another link as in the OP example that it is rendered improperly.

Sorry for my report not being clear enough. Hope this helps. :)

NotGovernor avatar Apr 04 '24 21:04 NotGovernor

Ah ok, got it, I will reopen this issue as a feature request

secure-77 avatar Apr 12 '24 21:04 secure-77

implemented in release 1.5.9

secure-77 avatar Sep 24 '24 09:09 secure-77

Just pure unmitigated awesome. Thank you sir.

NotGovernor avatar Sep 05 '25 20:09 NotGovernor