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
as you can see in the example, a plantUML diagram included using the plantuml:: syntax does not render in the preview if it includes further plantuml files relative to itself. According to the docs this is syntactically correct. Also, exporting the example to HTML using the docToolchain works fine, so it seems to be good in general. The export is also in the zip file.
The preview of the plantUML plugin in VS Code can also display both diagrams.
However, the asciidoc preview looks as follows, reporting an error that it cannot find the 2nd level include:
Observed behavior (1)
includes in plantuml files cause errors in the rendering process
Expected bevavior (1)
includes in plantuml files are processed correctly
I also want to report that there is another issue, likely in conjunction with the issue above:
Observed behavior (2)
When saving changes in a plantUML file while the asciidoc preview is open, the preview shows errors for all files until it's closed and re-opened
Expected behavior (2)
Saving changes in an included plantUML file does not break the preview
Kind regards
Jacques
The text was updated successfully, but these errors were encountered:
sorry for my late response. I will test myself using the newer version when I have time. But that may not be too soon. I moved away from plantuml towards draw.io. While I like the idea of having diagrams as code, I prefer control over placement and visual details that I get from drawing them myself.
Environment
AsciiDoc Plugin Version: 2.8.3
Kroki.io is used for diagram rendering (use_kroki is enabled)
Example for Reproduction
asciidoc-issue-demo.zip
Description
Hi,
as you can see in the example, a plantUML diagram included using the plantuml:: syntax does not render in the preview if it includes further plantuml files relative to itself. According to the docs this is syntactically correct. Also, exporting the example to HTML using the docToolchain works fine, so it seems to be good in general. The export is also in the zip file.
The preview of the plantUML plugin in VS Code can also display both diagrams.
However, the asciidoc preview looks as follows, reporting an error that it cannot find the 2nd level include:
Observed behavior (1)
includes in plantuml files cause errors in the rendering process
Expected bevavior (1)
includes in plantuml files are processed correctly
I also want to report that there is another issue, likely in conjunction with the issue above:
Observed behavior (2)
When saving changes in a plantUML file while the asciidoc preview is open, the preview shows errors for all files until it's closed and re-opened
Expected behavior (2)
Saving changes in an included plantUML file does not break the preview
Kind regards
Jacques
The text was updated successfully, but these errors were encountered: