blob: 34cf032be389eb8acfc0b374d12e56c072d4610b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
[[!meta title="PlantUML test"]]
# PlantUML test page
Everything is OK, if you don't see source code (PlantUML or Ikiwiki) on this page.
## Code block syntax
Embedded PlantUML diagram generated from tab-indented source:
@startuml
Alice -> Bob: Hello
Bob -> Alice: Hello
@enduml
And another one with space indentation:
@startuml
Alice -> Bob: Hello
Bob -> Alice: Hello
@enduml
Extra whitespace in diagram code:
@startuml
title Test
Alice -> Bob: Hello
Bob -> Alice: Hello
@enduml
Special characters (regex) in diagram code:
@startuml
[Alice] -> [Bob]: Hello
[Bob] -> [Alice]: Hello
@enduml
## External file syntax
External PlantUML file:
<!-- INCLUDE_UML: ext_diagram1.puml -->
And one more with Pandoc-style triple dash:
<!--- INCLUDE_UML: ext_diagram2.puml -->
|