|
From: | Max Nikulin |
Subject: | Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG |
Date: | Wed, 21 Jun 2023 22:52:07 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 16/06/2023 03:51, Ihor Radchenko wrote:
gerard.vermeulen@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.
[Prev in Thread] | Current Thread | [Next in Thread] |