CommonMark extension request

Adding this related request to the one for the Table of Contents extension, if one is added, could this one be added too: Attributes Extension - CommonMark for PHP

This would allow Markdown images to support important attributes other than alt text, as well as other nice-to-have attributes for other elements.

(edit: I just realized I worded this wrong and said this extension would provide the alt text attribute, which of course you can already do in Markdown, so I fixed the wording)


Ooooooh, nice! I hope this gets added, because I’ve been manually adding decoding="async" and loading="lazy" to all my images via HTML wrapping on my blog.

1 Like

This has been enabled, and after some very quick testing it appears to be working perfectly!