I am trying to write an Asciidoc file for export to both pdf and html. I want to include both tikz and graphviz images in the output files. Right now, I can use the asciidoctor command line interface and generate the document including diagrams using asciidoctor-diagram. However, in the vscode extension, I cannot see the actual diagrams, but only the diagram text. So the the extension seems to not be processing the diagrams--or I am doing something incorrectly.
Graphviz should be available under the Kroki processor, and tikz is from latex and not Kroki. I have the use kroki to generate diagrams setting checked in the configuration for the extension. Not sure if I missed anything in doing that.
What happened
I have an MWE to check image generation. The code is below. I run this code through asciidoctor cli and it works fine, but the diagrams do not appear in the preview.
Please provide details about:
I am trying to write an Asciidoc file for export to both pdf and html. I want to include both
tikz
andgraphviz
images in the output files. Right now, I can use the asciidoctor command line interface and generate the document including diagrams usingasciidoctor-diagram
. However, in the vscode extension, I cannot see the actual diagrams, but only the diagram text. So the the extension seems to not be processing the diagrams--or I am doing something incorrectly.Graphviz should be available under the Kroki processor, and tikz is from latex and not Kroki. I have the
use kroki to generate diagrams
setting checked in the configuration for the extension. Not sure if I missed anything in doing that.I expected to see the images. Here is an example from the pdf. I used the following command string to process the document.
When I look at the preview in the vscode extension, I just see the pass through text of the code.