Closed iosory7 closed 7 months ago
kroki-fetch-diagram
won't work in the VS code extension because it relies on unxhr
to synchronously get the content. This is the same issue as: https://github.com/asciidoctor/asciidoctor-vscode/issues/731
Using :!kroki-fetch-diagram:
produces the expected result:
Thank you for your investigation and reply.
I tried to use :!kroki-fetch-diagram:
, but the same results were obtained when using :kroki-fetch-diagram:
...
If the :kroki-fetch-diagram:
setting is the matter, shouldn't the include files not be expanded even with the sample1 method?
In my environment, kroki.io access is via proxy. Could this lead to a difference in results between you and me?
In my environment, kroki.io access is via proxy. Could this lead to a difference in results between you and me?
I don't think so... Could you please copy/paste what you get from "Help > About"?
After that, I set up a kroki server on-premiss and set :kroki-server-url: to that server URL, and now it renders in each pattern of three! Thank you for your support.
I'm glad that it's working for you. Should we close this issue? Do you think we should add something in the documentation?
I love to use asciidoctor-vscode from v2.x.x, but I faced a trouble in v3.x.x use.
I tried to include plantuml file from asciidoc in different 3ways.
README.adoc
includesmain.puml
. And thenmain.puml
includes bothsub_a.puml
andsub_b.puml
.One
include
description (sample1) is succeeded, but other two descriptions (sample2, sample3) are failed."Failed" means include files (sub_a.puml and sub_b.puml) are not expanded into preview and html.
Same outputs are expected in all 3ways.
I got the same outputs using command line as follows: (I installed asciidoctor.js and asciidoctor-kroki manually)
Enviroment: Ubuntu 22.04 @ WSL2(Win10)