diff options
author | Ivan Dolgov <ivan@qvarnlabs.com> | 2017-10-04 14:46:27 +0300 |
---|---|---|
committer | Ivan Dolgov <ivan@qvarnlabs.com> | 2017-10-04 14:46:27 +0300 |
commit | c2b9b321673d1b3c1bf9ed55f18c7c7e4186746a (patch) | |
tree | 21820737b8463b418c65e3dd8b71f50c3f6e6e06 /docs/plantuml-test/index.mdwn | |
parent | 64ab6c3c6ecc27a3e95c72e57a9e50204a207533 (diff) | |
download | ql-ikiwiki-publish-c2b9b321673d1b3c1bf9ed55f18c7c7e4186746a.tar.gz |
Add PlantUML test page
Diffstat (limited to 'docs/plantuml-test/index.mdwn')
-rw-r--r-- | docs/plantuml-test/index.mdwn | 49 |
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 --> |