Export to .md should use relative paths to attachments

(Lennart Tange) #1

Bug report

Given I’ve a markdown file with attachments
And I export it to .md,
When I upload the folder with .md and attachments to a github page (or move the folder elsewhere on disk)

Expected behavior

Then the page should load with attachments (the paths are relative to the folder)

Actual behavior

Then the attachments don’t load, as the paths are absolute


  • Platform: macOS
  • Platform version: Mojave
  • App Version: 4.3.3


A markdown file with copied images (![clipboard.png](inkdrop://file:bs1c8Q8_B))
File -> Export -> As Markdown
Save in a folder
Move folder elsewhere
Open the markdown, check the attachments

(Takuya Matsuyama) #2

Hi Lennart,

Thank you for the report.
Yeah, it seems that paths to image files should be relative to exported file.
Will fix it.

(Takuya Matsuyama) #3

v4.3.4 uses relative paths for images in exported files.
Thanks again for reporting!

(Lennart Tange) #4

Works great, many thanks!