Autocomplete internal link using markdown syntax for non-existant note does not include .md suffix

Steps to reproduce

  1. Use Wikilinks: Disabled
  2. Type [[note that does not exist yet]]
  3. When autocomplete popover appears, press Enter to have the markdown formatted link autocreated
  4. Link will display in editor as [note that does not exist yet](note%20that%20does%20not%20exist%20yet), see the lack of .md suffix
  5. Click the new note link to open it in a new pane (thereby creating the note in the filesystem)
  6. Return to original pane and below the link just written, write it again: [[note that does not exist yet]]
  7. When autocomplete popover appears, press Enter to have the markdown formatted link autocreated
  8. Link will display in editor as [note that does not exist yet](note%20that%20does%20not%20exist%20yet.md), see the presence of .md suffix this time

Expected result

Link created through autocomplete to a note that does not yet exist should still be appended with the .md suffix. This means that links to notes will remain consistent before and after the note is created on the filesystem.

Actual result

Link autocreated before note exists does not have an .md suffix.

Environment

  • Operating system:
    OSX 10.14.6
  • Obsidian version:
    0.10.9
    New link format: Relative path to file (though bug presents on all)
    Use Wikilinks: Disabled

Additional information

Current workaround

Clicking on the note to create the file on the filesystem, then renaming it immediately will update previous links to be correctly suffixed with .md

2 Likes