nv icon indicating copy to clipboard operation
nv copied to clipboard

Preview does not render images with relative paths

Open metbril opened this issue 14 years ago • 1 comments

If I create a reference to a file with a relative path (e.g. "./img/logo.gif") in a Markdown document, the images is not rendered. Instead it shows a question mark. If I use a full path, it shows as expected.

I have tried these relative paths:

![Logo](./img/logo.gif) ![Logo](file:./img/logo.gif) ![Logo](file://./img/logo.gif)

Working: ![Logo](file:/users/me/Documents/txt/img/logo.gif)

metbril avatar Aug 14 '11 11:08 metbril

Hmmm... over 7 years later. But, for what it's worth "Me too!"

It makes a folder of NValt notes and images less portable, if we can't use relative URLs. Is it not possible to read the BaseURL from NValt's preferences and automatically add that to a relative image URL?

madranet avatar Dec 07 '18 17:12 madranet