This PR adds a small but very useful feature: in our use case, we would like to limit the size of images so that the final HTML file can be exported as PDF and not be distorted by huge images. This can easily be achieved by adding a style tag to all images in the generated HTML data.
Not only that, but this would allow other styling changes to images, such as centering them, which could be useful for many users.
This PR adds a small but very useful feature: in our use case, we would like to limit the size of images so that the final HTML file can be exported as PDF and not be distorted by huge images. This can easily be achieved by adding a
style
tag to all images in the generated HTML data.Not only that, but this would allow other styling changes to images, such as centering them, which could be useful for many users.