Replies: 1 comment
-
The idea of the unique identifier is to be "backward" compatible with wikilinks. IIUC what you are suggesting, you would like wikilinks to immediately be in the identifier fashion. Another approach, which I think is what you were implying, is to always use a "full relative path" from the root, which is a valid unique identifier for a file. This could be achieved with the autocomplete, and possibly set via an option. I hope this provides some context, let me know your thoughts |
Beta Was this translation helpful? Give feedback.
-
I'm trying to understand the implementation of wikilinks in foam and if theres an option to help me out!
Foam assumes that all notes are never going to have duplicate filenames so if I have this folder structure:
and I create a new note
[[test]]
works fine.But if I then have this folder structure:
[[test]]
will give me an errorIt feels like it would be safer to assume that there will always be a possibility of multiple notes with the same filename in subdirectories and default to the unique identifier approach?
This method seems like it would produce more work the larger your collection since you'll have to go back and fix a whole bunch of broken links constantly, and you have no control initially other than to manually add the
folder
part of[[folder/test]]
the first time you create the wikilink.Other than the
problems
tab I can't see a way to fix these issues in a nice way?I guess what I'm asking is is there an option to choose which wikilink style to support by default in foam?
Just as an aside about wikilinks in general - is there a default or standard for wikilinks? Why has obsidian opted for the unique identifier as standard
[[folder/test]]
, foam for unique[[test]]
and some other applications[[Test note title]]
?Beta Was this translation helpful? Give feedback.
All reactions