Link autocomplete won't link to *.md if file has same name as another file

If there is an image/artifact/file image.png and a supplementary markdown file with the same name image.png.md, the link Auto-Suggester correctly shows both. However, the Auto-Complete will only link to [[image.png]]even if you select image.png.md

Steps to reproduce

  • Create an image (or other artifact/file)
  • Create a supplementary or “sidecar” markdown file with the same name
  • Trigger Auto-Suggester with [[ and then select the markdown file
  • Auto-Complete dose not create a link to the markdown file

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

Selecting the markdown file in the Suggester will create a link that follows to the markdown file.

Actual result

  • Selecting the markdown file in the Suggester creates a link to the artifact.
  • !! IF the markdown file and the artifact are in separate folders, the path is correctly made, but clicking the link takes you to a NEW markdown note with a 1 appended to it (or 2 or 3 etc)

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: Windows 11 Enterprise 10.0.22621
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none


Additional information

Here’s a workaround that doesn’t fix the suggester issue but does get the intended embed and correctly navigates when clicked.

You can add the file extension to differentiate between the files:

![[image.png]]

![[image.png.md]]