PlantUML preview

Plugins for SynWrite and CudaText...
Post Reply
pplupo
Posts: 3
Joined: 08.09.2025 20:09

PlantUML preview

Post by pplupo »

I'm migrating from another editor where I had a PlantUML preview plugin.
I wonder if it would be too much to ask for one here.
main Alexey
Posts: 2620
Joined: 25.08.2021 18:15

Re: PlantUML preview

Post by main Alexey »

To do this I need some library which can convert PlantUML to HTML or pucture.
I looked at PyPI.org for 'plantUML'....

ah, found: "plantuml" lib there.
It can connect to www server which converts diagram to PNG image.
It can help, but I don't have the power now to write the plugin.
main Alexey
Posts: 2620
Joined: 25.08.2021 18:15

Re: PlantUML preview

Post by main Alexey »

Pls try to make the plugin yourself, base it on some ready plugin, e.g. Markdown_Preview. I don't have java (needed for plantuml) and Graphviz (needed too, as it seems), I don't know plantuml, I don't know how to test all this converting.
main Alexey
Posts: 2620
Joined: 25.08.2021 18:15

Re: PlantUML preview

Post by main Alexey »

Sublime Text plugin
https://packagecontrol.io/packages/PlantUmlDiagrams
it can paint diagrams to png-files w/o Java, using online server.
it has settings file:

Code: Select all

    "plantuml_server": "http://www.plantuml.com/plantuml/",
For big donation, e.g. 200 $, I can try to port it to CudaText.
Many people worked on that plugin:

Code: Select all

    Tobias Bielohlawek (Syntax Highlighting Support)
    Julian Godesa (UX Feedback)
    Seán Labastille (Preview Support, Multi-Diagram Support)
    Kirk Strauser (Python 3 / SublimeText 3 Support)
    Stanislav Vitko (PlantUML Updates)
    Constantine ? (Windows Viewer, Charset Support, Image Size Tweaks, Output Selection Support, Various Other Fixes)
    Marcelo Da Cruz Pinto (Windows Viewer)
    Peter Ertel (PEP8 Cleanup, Windows Improvements)
    Juan Cabrera (Version Updates)
    Alexey Shashev (ST3 Plugin Loading Fixes)
    Riley Wood (PlantUML Updates)
    Ben Hardill (ST3 Native PNG Viewer)
    Maksim Chartkou (File Naming Stability Improvements)
    Timothy Zhang (File Include Support)
    Way Wang (Python 3 Correctness Patch)
Post Reply