summaryrefslogtreecommitdiff
path: root/docs/plantuml-test/index.mdwn
blob: 582073a93abe1d55707b018ef36b9b62a0cf5f7e (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
50
[[!meta title="PlantUML test"]]

# PlantUML test page

Everything is OK, if you don't see any 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 -->