-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SVG/HTML integration #342
Comments
This is controlled by the |
@pepijnve hmm, embedding the svg is self contained too so still sounds like the default for svg should change, no? Edit: confirming it works with |
That's something Asciidoctor core does, not the diagram extension. The extension generates a file on disk and passes the path to that file on to Asciidoctor core. |
@pepijnve I know but it is something I'd like to not be (ie when embedded the image is not even dumped physically) |
BTW you should be able to get the behaviour you want by adding |
That's simply not possible today I'm afraid and I'm not inclined to add support for that. The extension uses those files on disk to avoid needlessly rerendering unchanged images for instance. |
Ok I see, let's hope it is possible someday since temp images are very bothering in most editors and it is not alway easy to control them with imagesdir or equivalent. |
Hi,
It is possible to do svg image using plantUML (or some others) but it is integrated as an + base64 encoding. This makes the usage of SVG pretty impossible to add JS event handler on the SVG (which is one of the key facet of using SVG with vector one).
Would be great to support to inject the SVG in the dom instead of relying on the encoding hack.
The text was updated successfully, but these errors were encountered: