On 16/06/2023 03:51, Ihor Radchenko wrote:
gerard.vermeu...@posteo.net writes:
;; 1. It checks `svg-as-object' and "image in-lining" whether to
;; embed the SVG image in an <object> tag.
...
I think you missed `org-html-inline-image-rules' where users can
include/exclude svg images from inlining.
Ihor, I am not sure that I get your point. If I understand it correctly,
`org-html-inline-image-rules' specifies whether links to svg files
should be kept as links or should be transformed to images. Gerard
proposes to add options how to treat SVG *images*: <img>, <object> or
include content of the SVG file literally. `org-html-inline-image-rules'
does not allow to specify extended options how to treat each match.
I am not against <object> option, my concern is to avoid extremely heavy
page by e.g. rendering a lot of math as svg files. I am not even sure
that the issue is real, however I suspect it might happen. Adding a
warning to docs would be enough.