Open AshkanV opened 1 year ago
Probably related to https://github.com/Mogztter/asciidoctor-kroki/issues/397
As long as there are no generated or embeded images, the img src URL should render the configured server
eg
settings.json:
{
"asciidoc.extensions.enableKroki": true,
"asciidoc.preview.asciidoctorAttributes": {
"kroki-fetch-diagram": false,
"kroki-server-url": "http://my-kroki-server:8000"
},
}
The Kroki diagrams is not embedded in the HTML output and only a link to the image is generated which always requires the server. I use this combination:
If I remove the
!
char fromkroki-fetch-diagram
or useinline
instead ofinteractive
no diagram is generating at all.In v2.9.8 I was using the Ruby version of Asciidoctor which generates an embedded
interactive
SVG diagram with no problem. But as there will be no support for the Ruby version in version 3, I can not generate standalone HTML export anymore with the AsciidoctorJS version.Also as it is stated on the Kroki extension repo, I think the extension can generate diagrams with both
inline
andinteractive
options.VSCode: 1.74 (tar.gz version) AsciiDoctor VSCode: 3.0.3 OS: Linux openSUSE 15.4
(This bug report is created to make a separate issue for each item in #681)