slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
33.49k stars 1.37k forks source link

Hello, when can Plantuml be supported? #236

Closed jaxonister closed 3 years ago

jaxonister commented 3 years ago

When I was using SLIDEV, I wanted to insert PLANTUML to make some flowcharts, but found it was not supported. Hope you can support Plantuml, thank you

antfu commented 3 years ago

We already have Mermaid https://sli.dev/guide/syntax.html#diagrams, isn't it enough for your cases?

tonyho commented 3 years ago

We already have Mermaid https://sli.dev/guide/syntax.html#diagrams, isn't it enough for your cases?

The plantuml is much powerfull than the mermaid. Still hoping the slidev can support the PlantUML.

antfu commented 3 years ago

Note PlantUML is written in Java, while Slidev is using JavaScript and Node. I guess this might be still possible to integrate on server side, but I will left it to the community as we don't want to force ppl to have Java env in order to use Slidev. Closing for now.

tonyho commented 3 years ago

Note PlantUML is written in Java, while Slidev is using JavaScript and Node. I guess this might be still possible to integrate on server side, but I will left it to the community as we don't want to force ppl to have Java env in order to use Slidev. Closing for now.

The plantUML has a public server, which can be used without Java env.

Just a tips, may be useful, we can refer some Pandoc plantuml fiters, which would generate the UML png then convert the markdown to PDF with latex backend engines.