markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Spaces in path names break embedded pictures

Open Korodny opened this issue 1 year ago • 1 comments
trafficstars

The following embedded picture does not display properly, Markdown Viewer just displays the Markdown source:

![foo](Ausschneiden mit GIMP/Bildschirmfotovom2024-06-0514-17-26.png)

If I replace the spaces in the directory name with underscores and update the Markdown accordingly ("Ausschneiden_mit_GIMP"), it works fine.

Firefox 115.11, Markdown Viewer 5.3, Debian Testing.

Korodny avatar Jun 11 '24 13:06 Korodny

You have to use this syntax instead:

![foo](<Ausschneiden mit GIMP/Bildschirmfotovom2024-06-0514-17-26.png>)

though to be fair I did not know that either, I just looked it up on the internet https://superuser.com/a/1517072/250714

simov avatar Jun 16 '24 14:06 simov