It would be great to be able to reliably CSS style images rendered by cmark-gfm separately from other images that might appear on a site. As far as I can tell (?) there's no great way to do this now. I'm relying on "p img", but that seems like it might occasionally catch an img I didn't want.
Could we make CMARK_NODE_IMAGE get rendered with a class tag? Maybe something simple like class="cmark_image"? Class name bikeshedding welcome.
I'd be happy to put in the easy-looking pull request for this if it sounds like a thing to do.
It would be great to be able to reliably CSS style images rendered by
cmark-gfmseparately from other images that might appear on a site. As far as I can tell (?) there's no great way to do this now. I'm relying on "p img", but that seems like it might occasionally catch animgI didn't want.Could we make
CMARK_NODE_IMAGEget rendered with aclasstag? Maybe something simple likeclass="cmark_image"? Class name bikeshedding welcome.I'd be happy to put in the easy-looking pull request for this if it sounds like a thing to do.