Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG export with ditaa syntax #38

Closed
roipoussiere opened this issue Mar 8, 2017 · 5 comments
Closed

SVG export with ditaa syntax #38

roipoussiere opened this issue Mar 8, 2017 · 5 comments

Comments

@roipoussiere
Copy link

Many PlantUML tools uses PlantUML SVG export. Since ditaa diagrams can only be exported as PNG, many tools can not use the uselful ditaa syntax, such as the Atom markdown-preview-enhanced
plugin
.

@roipoussiere
Copy link
Author

Oops, this issue is actually Ditaa related.

@roipoussiere
Copy link
Author

roipoussiere commented Mar 8, 2017

(ditaa svg export reported here)

@JoruusK
Copy link

JoruusK commented Oct 25, 2018

It seems ditaa implemented that feature. However in plantuml svg export of ditaa content still fails. Is there some additional integration required?

@liskin
Copy link

liskin commented Nov 18, 2019

Yeah, additional integration seems necessary indeed. There's some old snapshot of ditaa in plantuml git which should be upgraded, and then SVGRenderer should be used at

final Object bitmapRenderer = Class.forName("org.stathissideris.ascii2image.graphics.BitmapRenderer")

@liskin
Copy link

liskin commented Nov 20, 2019

Something along these lines:
upgrade: https://salsa.debian.org/liskin-guest/plantuml/commit/5ee7fe82b098fa1402eb43acfff0fcc1bd19dbc4
integration: https://salsa.debian.org/liskin-guest/plantuml/commit/616dad29fd4de543985296a48166f68cec0dd780

branch with debian package and additional fixes to svg support in ditaa: https://salsa.debian.org/liskin-guest/plantuml/commits/ditaa

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

No branches or pull requests

3 participants