|
From: | Max Nikulin |
Subject: | Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG |
Date: | Wed, 21 Jun 2023 23:27:16 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 21/06/2023 23:02, Ihor Radchenko wrote:
Max Nikulin writes: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.That's why Timothy should review this patch. I am missing all these subtle details about HTML due to lack of knowledge.
Besides the HTML related question how to mate all SVG options with all Org features (figures, etc.) there is a purely Org design choice: whether there should be multiple Org boolean variables and attributes describing strategy for particular image or it is single variable and attribute with symbol (or string) value.
[Prev in Thread] | Current Thread | [Next in Thread] |