Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Add support of PlantUML asciidoc extention #122

Open
stasberkov opened this issue Feb 15, 2016 · 10 comments
Open

Add support of PlantUML asciidoc extention #122

stasberkov opened this issue Feb 15, 2016 · 10 comments

Comments

@stasberkov
Copy link

Add support of PlantUML asciidoc extention https://code.google.com/archive/p/asciidoc-plantuml/wikis/Usage.wiki
as asciidocfx does

[uml, file="rtd-redesign.png"]
--
class Car

Driver - Car : drives >
Car *- Wheel : have 4 >
Car -- Person : < owns
--
@stasberkov
Copy link
Author

Practice showed that such extension has low practical value. Proper way of editing documents with plant uml diagrams is to edit them independently (using dedicated planuml package for Atom) and then including into asciidoc document as images.

@sylvek
Copy link

sylvek commented Feb 14, 2017

@stasberkov i'm not agree with you.. having uml and text in a same document is more fluent than editing the uml diagram and extract a png.

@MrUzai
Copy link

MrUzai commented Feb 22, 2017

Totally agreeing with @sylvek on this. Not being able to use plantuml in asciidoc is the major reason i'm still trying to document in markdown as markdown preview plus provides plantuml integration.

@mojavelinux
Copy link
Member

Asciidoctor has support for plantuml using two different approaches, asciidoctor-diagram or asciidoctor-plantuml. The only challenge here is how to integrate this into the editor. The barrier there is that the editor is based on Asciidoctor.js and neither of these extensions has been transpiled to work in that environment. So that has to be done first in order to get support here. Or another extension is needed that is designed specifically for Asciidoctor.js.

@mojavelinux
Copy link
Member

It's completely doable. It's just a matter of doing it ;)

@ali-gs
Copy link

ali-gs commented Aug 16, 2018

Is there any update on this one? I am facing the same issue

@AndersonDev
Copy link

Any updates here?

@Skilly
Copy link

Skilly commented Nov 30, 2019

Like @sylvek and @MrUzai, I too disagree with the assertion that this suggestion has low practical value. Quite the contrary; even Visual Studio Code supports plantuml embedded in asciidoctor

@tjallingran
Copy link

kroki (GitHub) has support for rendering PlantUML. The VS Code Asciidoctor plugin uses that in combination with Asciidoctor.js, afaik.

Maybe that could work for atom-asciidoc as well.

That said, I write plantuml in separate files that I !include in my Asciidoc files, and I haven't managed to get the !included PlantUML files to render when using Asciidoctor.js + kroki in VS Code. So for now, I configured the VS Code plugin to use the Asciidoctor Ruby gems instead, as asciidoctor -r asciidoctor-diagram .

@danyill
Copy link

danyill commented May 25, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants