> WARNING: I moved my notes to Obsidian.md and I will not provide additional support to this plugin. > Pull request are welcome.
npm install joplin-plugin-plantuml2> WARNING: I moved my notes to Obsidian.md and I will not provide additional support to this plugin.
> Pull request are welcome.
This plugin allows you to create UML diagrams using the syntax defined in https://plantuml.com.
- Joplin Plugin - PlantUML2
- Install the plugin
- Automatic installation
- Manual installation
- Markdown syntax
- Sequence Diagram Example
- MindMap Diagram Example
- Other functionalities
- Context menu
- Menu shortcuts
- Links to other notes
- Options
- Extra hints
- Known issues
- Rendering of math formulas
- Development
Use the Joplin plugin manager to install it (Joplin > Options > Plugins).
Search for PlantUML2.
- Download the last release from this repository.
- Open Joplin > Options > Plugins > Install from File
- Select the jpl file you downloaded.
Use the markdown fence syntax to create a new PlantUML diagram.
Inside this block you can use the syntax documented at https://plantuml.com.
Syntax example:
``plantuml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response
@enduml
`
Rendering example:
Syntax example:
`plantuml`
@startmindmap
* Debian
** Ubuntu
* Linux Mint
* Kubuntu
* Lubuntu
* KDE Neon
** LMDE
** SolydXK
** SteamOS
** Raspbian with a very long name
* Raspmbc => OSMC
* Raspyfi => Volumio
@endmindmap
Rendering example:
. This feature is only available when the rendering format Vector Image (svg) is selected.Example:
`plantuml
@startmindmap
* Recipes
** [[joplin://983de92ea39448a19e7c9a9b7c797bb0 Pasta]]
* [[joplin://fdb2b25f0ec14864ba65c26a42404bb9 Lasagna]]
** [[joplin://e3880d97001546c79f1dc3584cc6b30d Pizza]]
** [[https://www.giallozafferano.com Other]]
@endmindmap
`Options
Use the plugin's options to define the rendering server and the output format.Extra hints
- The tag name is case insensitive
- This plugin is not compatible with WYSIWYG editor
- In order to make the diagram visible while exporting the note, an image cache is created on disk. The cache is located at ${temp}/joplin-plantUml2-plugin/Known issues
List of plantUml rendering issues that cannot be solved because not related to this plugin but to the official server.
Rendering of math formulas
Code: #3
Problem: Latex math formulas cannot be rendered as svg images
Example:
`
@startuml
skinparam handwritten true
:;
:;
note right
Try also
P(y|\mathbf{x}) \mbox{ or } f(\mathbf{x})+\epsilon
end note
@enduml
`Workaround: Modify in the plugin options the rendering mode to
Raster image (png)`- Joplin - Getting started with plugin development
- Joplin - Plugin API reference
- Joplin - Data API reference
- Joplin - Plugin examples