Home / GitHub Page

Try to fix markdown links on import

Say I have a directory, and in it the files
And a.md contains a link [b](b.md).

If I import the directory to Joplin, the link will break, because in Joplin the files get new random names.

Maybe, when Joplin imports a directory of .md files, it could take the path b.md and make another file, that lists that path as an alias to the relevant Joplin resource. Much like the files that store tags and other metadata.

Now, I don’t know if Joplin saves the original path of imported files (like it does with clipped webpages), but if it does, maybe it could search for correct files previously imported to Joplin, from other directories.