Resize image doesn’t work with MD References links

Steps to reproduce

This first image is about the same size as the text ![AltText|16](app://local//Users/me/download/big-icon.50x50.png), so it works as expected.

This second image kept its original big size ![my_img1].

This third one does is not parsed as a link and appear as normal text ![my_img1|16].

The forth one is a broken link [my_img2]

[my_img1]: app://local//Users/me/download/big-icon.50x50.png
[my_img2]: app://local//Users/me/download/big-icon.50x50.png|16

<!-- adding < and > characters around my_img2 link does not work either -->

Expected result

All icons are resized to 16px.

Actual result

Only the first is resized to 16px, the others have their original 50px size.


  • Operating system: Windows 11 Pro, 21H2, 22000.556
  • Debug info:
    • Obsidian version: v0.13.33
    • Installer version: v0.13.14
    • Operating system: Windows 10 Pro 10.0.22000
    • Login status: not logged in
    • Insider build toggle: off
    • Live preview: on
    • Legacy editor: off
    • Base theme: dark
    • Community theme: none
    • Snippets enabled: 8
    • Safe mode: off
    • Plugins installed: 11
    • Plugins enabled: 10
      1: Show Whitespace
      2: Copy button for code blocks
      3: Emoji Shortcodes
      4: Text Ops
      5: Admonition
      6: Obsidian Charts
      7: Emoji Toolbar
      8: Icons
      9: Kanban
      10: Reading Time

Additional information

Here is a screenshot of the issue in a real life text. As you can see, I use the exact same link a lot and would like to shorten it to easy the writing/maintenance of the files.

Also, this is somewhat similar to the Resize image doesnt work in MD links Bug Report.

Please, open a feature request.