eclipse-asciidoctor-editor
eclipse-asciidoctor-editor copied to clipboard
Support PlantUML Server for generating diagrams
Currently, Asciidoctor Editor requires a local graphviz installation to support PlantUML.
However, PlantUML diagrams could also be generated, using a PlantUML Server. (e.g. GitLabs (AsciiDoc) PlantUML integration utilizes such a PlantUML Server.)
It would be great if Asciidoctor Editor also would support generating diagrams using a PlantUML server instead of having graphviz installed locally.
The asciidoctor-diagram extension is responsible for rendering plantuml. I have not found any options for using plantuml server.
The images created by plantuml are not rendered by editor calls to plantuml but by asciidoctor. The plantuml editor just wraps the plantuml code into a temporary asciidoctor file and does rendering by asciidoctor again.
If you have the possibility to configure it to asciidoctor by command line options you can use your installed variant, as described at https://github.com/de-jcup/eclipse-asciidoctor-editor/wiki/Using-installed-asciidoctor.
If you have found an option for asciidoctor cli
please paste the information at this issue - thanx.
Thanks for clarification. I'll go and check that with asciidoctor cli.
FTR: It seems, there's already something in the making: Add client/server support for all diagram types (#183).