Markdown Links Relative formats: improvements in link name management

I noticed that when you rename a file your internal links will get updated, not only for the URL, but also for the text in the bracket, which is a pretty awesome feature! But it doesn’t go well when the link contains parent directory.

Steps to reproduce

For example, when you rename the file into in Obsidian,

  • The internal link [test]( can get updated perfectly into [foo](
  • But the link [test](../aa/ in files under other folders is just updated into [test](../aa/ (while [foo](../aa/ is expected).
  • On the other hand, when you move the file to the folder bb, the internal link [test]( will get updated into [../bb/](../bb/ (while [test](../bb/ is expected).


  • Operating system: MacOS Catalina 10.15.7
  • Obsidian version: v0.11.0

This is happening to me as well. Happens with relative links enabled (but not shortest link as far as I can tell). Intended behavior shouldn’t change the appearance of display text!