Newer
Older
labs / tiddlers / system / cheatsheet / $__Cheatsheet_Cheatsheet_PlantUML.tid
tags: cheatsheet
title: $:/Cheatsheet/Cheatsheet/PlantUML
type: text/vnd.tiddlywiki

Note that the Markdown plugin and PlantUML plugin do not play nicely --- use WikiText if using the PlantUML plugin.

!! Showing Diagram Only

```
[[plantuml[
@startuml
a -> b : do stuff
@enduml
]]]
```

Produces:

[[plantuml[
@startuml
a -> b : do stuff
@enduml
]]]

!! Showing Diagram with Code

```
<<pudiagram
"""
@startuml
a -> b : do stuff
@enduml
"""
>>
```

Produces:

<<pudiagram
"""
@startuml
a -> b : do stuff
@enduml
"""
>>

See:  $:/ou/macros/pudiagram for more information on the diagram+code macro.

See: http://tobibeer.github.io/tw5-plugins/#plantuml for more information on the PlantUML plugin.