toggle quoted messageShow quoted text
If your images are in SVG format, a plugin could embed them directly into HTML. I’ve been meaning to add this as a built-in feature in DITA-OT. That you can either inline or extract all SVG images. The same would apply to MathML.
For binary image formats you need Base64 encoding in data URL.
Sent from a mobile device.
On 28. Aug 2020, at 7.40, Radu Coravu <radu_coravu@...> wrote:
I wanted to do something like this at some point but I never got
around to it. A small DITA OT plugin with a custom Java extension
could probably embed images directly in the HTML content.
Or you could maybe do that after the HTML files are produced, I
googled for "embed image html command line github" and there seem
to be a couple of GitHub projects which claim to do that.
Oxygen XML Editor
tried to make the dita-ot do that? It works if I do it manually,
but for obvious reasons, we want to automate it so that when we
generate HTML5 with the dita-ot, the HTML files include the