Reference-style links to images don't work

Steps to reproduce

  1. Create new note
  2. Add an image to the folder with the note (e.g 1.jpg)
  3. Add reference style link to the image:
    [test]: ./1.jpg
  4. Add an image:
    ![test]

Expected result

Image is shown in preview mode

Actual result

Image is not shown in preview mode:

Environment

  • Operating system: WIN 10
  • Obsidian version: 0.12.15

If I open note as .md file in an another editor (e.g. VS Code), everything works fine:

we don’t support this. Search/open a feature request.

Reference-style links work for images outside the vault.

![DohNutz][1]

Reference-style links work for images outside the vault.

[1]:https://uh.gsstatic.es/sfAttachPlugin/getCachedContent/id/1195159/width/730/height/456

DohNutz

Angel