If I would like to create link to a note under folder “articles”, I end up with two different link styles at different conditions.
- If note is a new note, then the wikilink stays as [[articles/new-article]]
- If note is an existing one( i.e.
new-note.md
file is underarticles/
folder), then the wikilink is kept as [[new-note]]
This behavior is creating discrepancy in consistency, I think.
On a side note, converting [[articles/new-article]] into [[new-article]] might be prettier in appearance, but doesn’t it prevent portability of the vault, because when you carry a note which carries a wikilink [[new-article]] might be referring to new-article.md in existing folder, under another folder.
Isn’t it safer to keep the folder name in wikilinks?
Steps to reproduce
- when creating a new note under articles folder (i.e. type
[[
then type “articles/new-article” and then close]]
) the link stays as[[articles/new-article]]
- when inserting a link to an existing note (i.e. type
[[
then start typing “articles” and select “articles/new-articles” from list) the link is converted to[[new-article]]
Expected result
only type of links, either without folder name or with folder name
Actual result
two types of links are created at two different cases
Environment
- Operating system: Linux
- Obsidian version: v0.7.3