DEV Community

Discussion on: Add HTML classes to 11ty markdown content

Collapse
 
jorenbroekema profile image
Joren Broekema

I think you forgot .u-shadow class in the image tag in the output right?

Collapse
 
giulia_chiola profile image
Giulia Chiola

Thank you Joren! 🙃 I just noticed that I also forgot to add the ALT text in the output 😇 I have just fixed both. Have a nice day!

Collapse
 
jorenbroekema profile image
Joren Broekema

Thank you :) cool tips btw, we are using 11ty and actually were wondering if there was an easy way to change how markup is spit out from the markdown, mostly adding classes, so we can style our content better. This helps!