Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle relative paths in Markdown export #846
thanks so much for your great work! I really appreciate all of it!
Right now I do not find any way for using a absolute or relative path, that is portable between Mac, Linux or Windows. It would be great to even implement that possibility in Joplin!
It would be great to enhance this feature that way, that you could use a relative path in the first place to write md files in Joplin as well! In editors like ATOM or SUBLIME TEXT you already can use a relative path for pictures or file attachments. That way you could keep your directory infrastructure as well as your 'naming conventions'.
For example, we use
Many thanks again!
Yep, @laurent22 thanks a lot!
Regarding the relative paths in the export.
Second option can break some compatibility for users which are already rely on specific folder structure.
@GIT-STATA, this is unlikely to be implemented since the recommended way to include a file is to attach it rather than link to a local file (that way it is synced with the notes). If you want to link to a local file you can already do so using the file:/// protocol. You would just need to make sure that all your devices have the same path structure, using symlinks if necessary.