Still reproduces on 1.15.0. I rechecked it on a fresh vault with A.md at the root, Folder/A.md beside Folder/B.md, and these links in Folder/B.md. The target is what app.metadataCache.getFirstLinkpathDest returns, which is the note a click opens:
Link in Folder/B.md |
Obsidian opens | Any other markdown editor opens |
|---|---|---|
[[A]] |
A.md |
(no wikilinks) |
[x](A.md) |
A.md |
Folder/A.md |
[x](./A.md) |
Folder/A.md |
Folder/A.md |
[x](/A.md) |
A.md |
A.md |
The wikilink row is the intended behaviour from the bug report, so I’m leaving it aside. The second row is the one this request is about. A markdown link destination is a URL, and a relative URL is resolved against the file it’s in (RFC 3986, section 5). VS Code, Typora and every other reader of the same file open Folder/A.md. Today ./A.md is the only form that reaches the sibling note, and a user who writes A.md by hand, or pastes a link from another editor, has no way to tell that it leads somewhere else.
One part of the original bug report is fixed, though. In Absolute link path has higher precedence than relative path, generateMarkdownLink wrote [A](A.md) for Folder/A.md, which led to the root note. It now writes the full path in both formats, [[Folder/A]] with wikilinks on and [A](Folder/A.md) with them off, and both reach Folder/A.md. So the generator half was fixed and only the resolver is left. A setting to resolve markdown links relative to the note first would close that gap for anyone who keeps their vault readable in other editors.