summaryrefslogtreecommitdiff
path: root/docs/plantuml-test/index.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'docs/plantuml-test/index.mdwn')
-rw-r--r--docs/plantuml-test/index.mdwn49
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/plantuml-test/index.mdwn b/docs/plantuml-test/index.mdwn
new file mode 100644
index 0000000..34cf032
--- /dev/null
+++ b/docs/plantuml-test/index.mdwn
@@ -0,0 +1,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 -->