Closed benwinding closed 9 months ago
When using the images: config option, the alt tag doesn't get added to the attributes.
images:
alt
Steps to Reproduce
_config.yml
markdown: images: lazyload: true // Need at least one option, this is just an example
<img .../>
Use the token.content which contains the "alt text" from the markdown image.
token.content
Example markdown image
What's available in the context during debugging
Note: I'm not sure if it would be better to fix this up the call-chain :shrug:
Problem
When using the
images:
config option, thealt
tag doesn't get added to the attributes.Steps to Reproduce
_config.yml
file<img .../>
tags in HTML don't have anyalt
attributesFix
Use the
token.content
which contains the "alt text" from the markdown image.Example markdown image
What's available in the context during debugging
Note: I'm not sure if it would be better to fix this up the call-chain :shrug: