flexmark-java icon indicating copy to clipboard operation
flexmark-java copied to clipboard

Make the renderer automatically add e.g. lazyload to all img tags

Open Sebastian-Nielsen opened this issue 4 years ago • 0 comments

If it isn't already possible, I would love to see the renderer being capable of automatically adding e.g. lazyload to all img tags.

Perhaps it could be generalized so that the client have the opportunity to specify the attributes to add to a given a tag whenever it is created.

Another use case is to specify you want to add rel="prefetch" to all anchor tags.

Sebastian-Nielsen avatar Jan 21 '21 18:01 Sebastian-Nielsen