Add support for internal links inside image alt text in Live Preview mode

Use case or problem

I often use internal links inside markdown image alt text as a way to put references to notes.
But because of this, the image doesn’t render in Live Preview mode.

However, this works fine in Reading mode.

I need this because I use Image Captions plugin to show the alt text as the image caption.
See example below:

Proposed solution

The image should render as is the case in Reading mode.

Screenshots

Live Preview mode with internal link (NOT OK):

Live Preview mode without internal link (OK):

Reading mode with internal link (OK):

Mods can delete this post as it is a duplicate of an already existing bug report (see below).

I forgot that I already reported this in a bug report several months ago.

Before posting, I searched the forums, but I probably used the wrong keywords and I didn’t find my own post. :joy:

1 Like