Updating Internal Links: Removes File Extension When Using Markdown Links

Steps to reproduce

  1. Verify that in Obsidian’s settings, the “Use Markdown Links” in the Editor section is enabled.

  2. Link to a note using the autocomplete suggestion. Depending on your path settings & where the note is, your result will look similar to:

    • [Note](Note.md)
  3. Move the file that you linked to. After updating it will now look like:

    • [Note](Note)

This causes it to loose it’s file extension, which is not a big deal for Obsidian. Obsidian doesn’t seem to mind at all, but when using it with other software the other software can’t find the file that it links to without it’s extension.

This same sort of behavior also happens when linking to sections of the same file: Moving a note breaks internal links

Expected result

Only the information that changed to be updated.

Actual result

The destination file name was unnecessarily changed.


  • Operating system: Windows 10
  • Obsidian version: 0.9.2

Additional information

1 Like