eclipse-asciidoctor-editor icon indicating copy to clipboard operation
eclipse-asciidoctor-editor copied to clipboard

Support PlantUML Server for generating diagrams

Open MarkusMit opened this issue 6 years ago • 3 comments

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.

MarkusMit avatar Nov 07 '18 16:11 MarkusMit

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.

de-jcup avatar Nov 08 '18 22:11 de-jcup

Thanks for clarification. I'll go and check that with asciidoctor cli.

MarkusMit avatar Nov 09 '18 10:11 MarkusMit

FTR: It seems, there's already something in the making: Add client/server support for all diagram types (#183).

MarkusMit avatar Nov 09 '18 12:11 MarkusMit