Links do not update when moving files
Describe the bug Moving notes does not update links To Reproduce
At first I though it was specific to nested notes
I was wrong
Expected behaviour
Content of a should change like it does when I move/rename inside of app
Screenshots already done
Additional context
Btw really cool tool, use it all the time to open note in app from nvim
Hey thank you for the feedback! I realised why this is happening, current implementation only supports wikilinks ([[note-name]]) but you are using markdown links ([note-name](note-path). I tend to only use markdown links for external links and use wikilinks for internal links so I hadn't considered this use case.
I can add it as a feature request but I won't able to make the changes soon. In the mean time please use wikilinks and it should work.
More info here: https://help.obsidian.md/links
Thanks for claryifying! Does not work still... Am I doing it wrong?
Please can you retry but don't include the path in the note when you manually link it at the start. For example you can just do [[c]] to link to the note, Obsidian doesn't need the full path for internal links. Although I think it uses it when there are multiple notes of the same name in which case this might be a bug you've found where it fails to update links for notes that are linked are using the full path.
Oh! Yeah, it does work like that, thank you!
Funny thing: after obs m b/c_1 b/c a.md did not update path for a (which it should), so jumping to link opened the one in root.
However, as you can see in screenshot, it did rename link back to c_1. Pretty minor bug, I think I should be fine with using unique names for notes
Thanks you confirming. I'll make a note to add the following improvements:
- Move command - Handle link updates for markdown links
- Move command - Handle link updates for nested path links (for wikilinks and markdown).