Support image renditions from HTML documents #136
Labels
enhancement
New feature or request
html
Issues pertaining to HTML handling
images
Stuff to do with image renditions
Expected Behavior
HTML documents don't currently support
img
files that are stored within the content tree, and anyimg src
links need to be manually managed to whatever renditions are in use. What would be nice is if the HTML page renderer were to minimally process the document to treat<img>
elements similarly to![]()
in markdown.On local images, attributes such as
width
andheight
would drive the rendition, and additional parameters could be passed in viadata-publ-*
attributes (e.g.data-publ-scale="3"
).Remote and static images would simply rewrite the
src
attribute appropriately but make no other changes.The text was updated successfully, but these errors were encountered: