voldyman / MarkMyWords

Markdown editor
MIT License
216 stars 19 forks source link

Linking images with relative path doesn't work #81

Open boamaod opened 7 years ago

boamaod commented 7 years ago

Linking images using local/relative path doesn't work, so

![The Features](features.png  "Our features")

leads to image icon of a broken link type, but

![The Features](https://github.com/infoaed/opendata-portal/raw/master/features.png  "Our features")

works fine. I suppose expected behaviour would be to use path of opened MD file as default path for images. Don't know what would be correct behaviour for referring to root, probably in practise it should also default to MD path and not system root.

voldyman commented 7 years ago

hmm, good find. i'll try to implement it as soon as possible

rechie1995 commented 7 years ago

I have the same problem.