Generate PlantUML Diagrams inside Obsidian.md
https://github.com/joethei/obsidian-plantuml.git
This plugin uses either the PlantUML Online Server, or a local
.jar file for rendering.
You can also host your own server
(Docker /
JEE /
PicoWeb) and specify its address in the settings.
Please note that using the local rendering method is not as performant as using a server.
plantuml as the language.
Specify your plantuml code inside.
To generate a diagram with higher resolution use plantuml-svg
You can also use plantuml-ascii to generate ASCII Art.
Documentation on Plantuml can be found on plantuml.com
[[[Your other note]]]
For the content of such a link refer to the obisidian documentation.
Normal web links are described here
.puml fileβ οΈ Only works when using local renderingThis works just as describe in the official documentation.
plantuml
BobΒ ->Β AliceΒ :Β hello
AliceΒ ->Β Wonderland:Β hello
WonderlandΒ ->Β next:Β hello
nextΒ ->Β Last:Β hello
LastΒ ->Β next:Β hello
nextΒ ->Β WonderlandΒ :Β hello
WonderlandΒ ->Β AliceΒ :Β hello
AliceΒ ->Β Bob:Β hello
`
~~~
results in:

~~~markdown
`plantuml-ascii
BobΒ ->Β AliceΒ :Β hello
AliceΒ ->Β Wonderland:Β hello
WonderlandΒ ->Β next:Β hello
nextΒ ->Β Last:Β hello
LastΒ ->Β next:Β hello
nextΒ ->Β WonderlandΒ :Β hello
WonderlandΒ ->Β AliceΒ :Β hello
AliceΒ ->Β Bob:Β hello
`
~~~
results in:
`
βββββ βββββββ ββββββββββββ ββββββ ββββββ
βBobβ βAliceβ βWonderlandβ βnextβ βLastβ
βββ¬ββ ββββ¬βββ ββββββ¬ββββββ βββ¬βββ βββ¬βββ
β hello β β β β
βββββββββββββββ>β β β β
β β β β β
β β hello β β β
β ββββββββββββββββββ>β β β
β β β β β
β β β hello β β
β β β βββββββββββββββββ> β
β β β β β
β β β β hello β
β β β β ββββββββββββββ>
β β β β β
β β β β hello β
β β β β <ββββββββββββββ
β β β β β
β β β hello β β
β β β <βββββββββββββββββ β
β β β β β
β β hello β β β
β β<ββββββββββββββββββ β β
β β β β β
β hello β β β β
β<βββββββββββββββ β β β
βββ΄ββ ββββ΄βββ ββββββ΄ββββββ βββ΄βββ βββ΄βββ
βBobβ βAliceβ βWonderlandβ βnextβ βLastβ
βββββ βββββββ ββββββββββββ ββββββ ββββββ
`
## Known issues
Not all methods of using PlantUML support all different diagrams.
Following are a few known issues.
- ASCII can only ever generate Sequence diagrams
- The PicoWeb server does not support clickable links in png diagrams
- Some languages like chinese are not rendered correctly -> Switch to SVG rendering
## Installation
Settings > Community plugins > Community Plugins > Browse and search for PlantUML`.