Closed bric3 closed 3 years ago
Well I don't know... I had the issue for days, then I just switched to swing viewer then back to JCEF, and it started to work. ¯\_(ツ)_/¯
Thanks for sharing this. I might have fixed inlined SVG as part of issue #548, that ended up in pre-release 0.31.25 and stable-release 0.31.27.
JCEF preview now uses real SVGs, and the proper content-security-policy in the preview. If you find anything else that bothers you, please don't hesitate to open an issue.
I finally found the solution for this: the latest release of kroki requires "opts=inline", but asciidoctor-diagram requires "svg-type=inline". I updated the docs, and will raise this with asciidoctor-diagram.
It might appear to work when you open the browser preview and a temporary SVG is created. Hm.
AsciiDoc Plugin Version: 0.31.27
IDE Name and Version: 2020.2.2 RC
For example with this svgbob (with the plugin options
svgbob
=/usr/local/bin/svgbob
), but the issue happens for ditaa and plantuml as well. Ifopts=inline
is in the options then the diagram is not rendered, but if removed the diagram renders properly.I wonder if this is due to JCEF ?