In relative path mode, always add `./` and `../` in front of links

In relative path mode, always add ./ in front of links for files in subdirectories relative to the current file and ../ for files in subdirectories above the current file.

This is particularly important since Obsidian doesn’t use a front / in absolute path mode and this creates confusion and ambiguity.

6 Likes

Maybe if this feature gets attention, the following issue will be taken care:

Obsidian has trouble creating new notes from “Relative path to file” links

1 Like

Please consider also to apply this to creating new Files: base relative Links to non-existing Files to the Directory of the File they are located in as described in this issue: Obsidian has trouble creating new notes from "Relative path to file" links - #26 by SpocWeb

4 posts were split to a new topic: Better markdown links

The user @mnaoumov made a plugin that implements this FR called better markdown links.

2 Likes