diff options
author | Markus Koller <markus.koller.ext@siemens.com> | 2017-11-01 11:56:06 +0100 |
---|---|---|
committer | Markus Koller <markus.koller.ext@siemens.com> | 2017-11-01 13:50:35 +0100 |
commit | fab06c980ae9f67f5a867caf07f37479ce99bc0e (patch) | |
tree | a6da09d8fff5c827d2d183b8561106e47805e334 /doc/administration/integration/plantuml.md | |
parent | e457f3fbffddb84357e9449c66c2af675fbb526b (diff) | |
download | gitlab-ce-fab06c980ae9f67f5a867caf07f37479ce99bc0e.tar.gz |
Update gitlab-markup and PlantUML docs
Diffstat (limited to 'doc/administration/integration/plantuml.md')
-rw-r--r-- | doc/administration/integration/plantuml.md | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/doc/administration/integration/plantuml.md b/doc/administration/integration/plantuml.md index 652ca9cf454..93c3642a1f1 100644 --- a/doc/administration/integration/plantuml.md +++ b/doc/administration/integration/plantuml.md @@ -56,29 +56,34 @@ that, login with an Admin account and do following: With PlantUML integration enabled and configured, we can start adding diagrams to our AsciiDoc snippets, wikis and repos using delimited blocks: -``` -[plantuml, format="png", id="myDiagram", width="200px"] --- -Bob->Alice : hello -Alice -> Bob : Go Away --- -``` +- **Markdown** + + ```plantuml + Bob -> Alice : hello + Alice -> Bob : Go Away + ``` -And in Markdown using fenced code blocks: +- **AsciiDoc** - ```plantuml - Bob -> Alice : hello + ``` + [plantuml, format="png", id="myDiagram", width="200px"] + -- + Bob->Alice : hello Alice -> Bob : Go Away + -- ``` -And in reStructuredText using a directive: +- **reStructuredText** -``` -.. plantuml:: + ``` + .. plantuml:: + :caption: Caption with **bold** and *italic* - Bob -> Alice: hello - Alice -> Bob: Go Away -``` + Bob -> Alice: hello + Alice -> Bob: Go Away + ``` + + You can also use the `uml::` directive for compatibility with [sphinxcontrib-plantuml](https://pypi.python.org/pypi/sphinxcontrib-plantuml), but please note that we currently only support the `caption` option. The above blocks will be converted to an HTML img tag with source pointing to the PlantUML instance. If the PlantUML server is correctly configured, this should |