Here’s an extreme case example why markdown isn’t great for this purpose. Also, not every client renders the markdown the same, Lemmy has no standardized markdown syntax/implementation. For example, my client won’t render your example the way you think it will; it renders the link at the end in text and has a [ before the image, and my client hates new lines in markdown alt-text. If you use \ in the alt-text, it render the image twice, and if you use a blank newline it will not render at all.
HTML is a pretty damn nailed down standard and can already properly handle Alt-text.
Here’s an extreme case example why markdown isn’t great for this purpose. Also, not every client renders the markdown the same, Lemmy has no standardized markdown syntax/implementation. For example, my client won’t render your example the way you think it will; it renders the link at the end in text and has a
[
before the image, and my client hates new lines in markdown alt-text. If you use\
in the alt-text, it render the image twice, and if you use a blank newline it will not render at all.HTML is a pretty damn nailed down standard and can already properly handle Alt-text.