You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the documentation page, it says that by default, Asciidoctor Kroki generates a link, to a Kroki server or a local file. To change the default for SVG diagrams, set the kroki-default-options attribute.
So, how can I make it to save the images locally, and use that image instead of the link to the Kroki server?
Thanks.
Here is my test example:
= BOOK title
:chapter: 6
:sectnums:
:figure-caption: {chapter}.
:listing-caption: {chapter}.
:table-caption: {chapter}.
:leveloffset: 1
:imagesoutdir: E:\images\test
:kroki-default-options: inline
= CHAPTER title
Diagram test
[graphviz, "abcd-flowchart", svg]
----
digraph G { rankdir=LR; Graphviz->AsciiDoc->HTML}
----
And this is the command I'm using to create XML file:
Hi,
On the documentation page, it says that by default, Asciidoctor Kroki generates a link, to a Kroki server or a local file. To change the default for SVG diagrams, set the kroki-default-options attribute.
So, how can I make it to save the images locally, and use that image instead of the link to the Kroki server?
Thanks.
Here is my test example:
And this is the command I'm using to create XML file:
asciidoctor -r asciidoctor-kroki -b docbook test.adoc
And this is the result I get:
The text was updated successfully, but these errors were encountered: