# PlantUML support

**URL:** https://community.silverbullet.md/t/plantuml-support/1526
**Category:** Plugs and Libraries
**Created:** [December 22, 2024, 3:42pm UTC](https://community.silverbullet.md/t/plantuml-support/1526 "2024-12-22T15:42:57Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![LogeshG5](https://community.silverbullet.md/user_avatar/community.silverbullet.md/logeshg5/32/1171_2.png) [@LogeshG5](https://community.silverbullet.md/u/LogeshG5)
#### Post date: [December 22, 2024, 3:42pm UTC](https://community.silverbullet.md/t/plantuml-support/1526/1 "2024-12-22T15:42:57Z")

</div>

Created a [PlantUML Plugin](https://github.com/LogeshG5/silverbullet-plantuml/) for [PlantUML](https://plantuml.com/) diagrams, similar to Mermaid JS.

Currently it can be configured to generate diagrams in three ways,

1. Remote Server - Using PlantUML official server
2. Local Server - Using local http server using PlantUML jar
3. Script - Using local PlantUML jar helper script

If you are a user of PlantUML, try it out. Your feedback is appreciated!

 ![image](https://community.silverbullet.md/uploads/default/original/1X/1f2777e790eeba4a1923a6c454f36c8b6f552cbb.png)

Support requested to improve the third option avoid helper script and instead use PlantUML jar by providing the input text as stdin. But I couldn’t achieve it. Support here in improving it would help.

**Thanks** to @Maarrk’s awesome [Plug development for beginners](https://community.silverbullet.md/t/plug-development-for-beginners/49) guide and @zef’s [silverbullet-mermaid](https://github.com/silverbulletmd/silverbullet-mermaid) plugin for references.

---

<div class="post-metadata">

### Author: ![commutant](https://community.silverbullet.md/user_avatar/community.silverbullet.md/commutant/32/58_2.png) [@commutant](https://community.silverbullet.md/u/commutant)
#### Post date: [December 25, 2024, 9:16am UTC](https://community.silverbullet.md/t/plantuml-support/1526/2 "2024-12-25T09:16:51Z")

</div>

Many thanks to the author of the PlantUML plugin. I used it very often in projects when constructing UML diagrams. In connection with vjbv’s transition to Silverbullet, I was forced to use the “Mermaind” plug, but its functionality is much inferior to “PlantUML” and its implementation in the project opens up new possibilities for me to visualize system analytics.  
An example of empowerment is shown below.  
Many thanks and respect to the author of the plugin.

 ![image](https://community.silverbullet.md/uploads/default/original/1X/2cfcd046fb4f70d1ac47a20be2691cf2b2cf319a.png)

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [December 27, 2024, 1:18pm UTC](https://community.silverbullet.md/t/plantuml-support/1526/3 "2024-12-27T13:18:13Z")

</div>

Very nice!

---

<div class="post-metadata">

### Author: ![malys](https://community.silverbullet.md/user_avatar/community.silverbullet.md/malys/32/840_2.png) [@malys](https://community.silverbullet.md/u/malys)
#### Post date: [December 31, 2024, 8:04am UTC](https://community.silverbullet.md/t/plantuml-support/1526/4 "2024-12-31T08:04:08Z")

</div>

For mind map diagrams, I used [GitHub - malys/silverbullet-mindmap: Silver Bullet plug for mindmap diagram (online)](https://github.com/malys/silverbullet-mindmap)

---

<div class="post-metadata">

### Author: ![malys](https://community.silverbullet.md/user_avatar/community.silverbullet.md/malys/32/840_2.png) [@malys](https://community.silverbullet.md/u/malys)
#### Post date: [December 31, 2024, 8:04am UTC](https://community.silverbullet.md/t/plantuml-support/1526/5 "2024-12-31T08:04:16Z")

</div>

Thanks. Could you add a PR to add your plugin to [GitHub - gorootde/silverbullet-collection: Collection of awesome silverbullet.md stuff](https://github.com/gorootde/silverbullet-collection)

Many thanks

---

<div class="post-metadata">

### Author: ![malys](https://community.silverbullet.md/user_avatar/community.silverbullet.md/malys/32/840_2.png) [@malys](https://community.silverbullet.md/u/malys)
#### Post date: [January 1, 2025, 7:35am UTC](https://community.silverbullet.md/t/plantuml-support/1526/6 "2025-01-01T07:35:04Z")

</div>

Last month, I created a PR to integrate plantuml in mermaid plugin to have an universal diagrams plugin. [Support multiple diagrams rendering engine by malys · Pull Request #7 · silverbulletmd/silverbullet-mermaid · GitHub](https://github.com/silverbulletmd/silverbullet-mermaid/pull/7)  
=\> No feedback

It was basic but it’s worked well.

Your integration is full featured. I will switch on.  
Thanks for you contribution.

---

<div class="post-metadata">

### Author: ![aisbergde](https://community.silverbullet.md/user_avatar/community.silverbullet.md/aisbergde/32/3439_2.png) [@aisbergde](https://community.silverbullet.md/u/aisbergde)
#### Post date: [April 20, 2026, 5:20pm UTC](https://community.silverbullet.md/t/plantuml-support/1526/7 "2026-04-20T17:20:10Z")

</div>

How to use it in v2?

I added this on the CONFIG page in the space-lua section

```space-lua
--scheint nicht zu funktionieren. plantuml wird nicht gerendert
--oder die default config ist nicht ausreichend
--https://github.com/LogeshG5/silverbullet-plantuml
config.set {
  plugs = {
  "ghr:LogeshG5/silverbullet-plantuml"
  }
}

config.set("plantuml", {serverurl="https://plantuml.com/plantuml"})

```

the plug is not listed on the  
library/Std/Pages/Space Overview

and plantuml is not rendered

maybe there is a specific way, how to install plugs in SB v2?

some other settings are working, for example

```space-lua
config.set("std.widgets.toc.enabled", true)

config.set("git.autoSync", 5)

```

---

<div class="post-metadata">

### Author: ![aisbergde](https://community.silverbullet.md/user_avatar/community.silverbullet.md/aisbergde/32/3439_2.png) [@aisbergde](https://community.silverbullet.md/u/aisbergde)
#### Post date: [April 20, 2026, 5:25pm UTC](https://community.silverbullet.md/t/plantuml-support/1526/8 "2026-04-20T17:25:15Z")

</div>

solved:  
there was a missing from my side:  
`Plugs: Update`  
now it works.
