marksman icon indicating copy to clipboard operation
marksman copied to clipboard

non-leading slash in wiki-links in vs code

Open s-cork opened this issue 1 year ago • 2 comments

A non-leading slash (as changed in #162) leads to broken links in vscode hover doesn't work and neither does ctrl/cmd + click to follow the link

Example hierarchy:

folderA
 - foo.md
folderB
 - bar.md

wiki-linking from bar.md to foo.md leads to [[folderA/foo]] in the autocompletion, which (when clicking the link) is interpreted as folderB/folderA/foo by the editor

If I manually change it to [[/folderA/foo]] then clicking the link again works as expected.

s-cork avatar Mar 16 '23 10:03 s-cork