diff options
author | Elan Ruusamäe <glen@delfi.ee> | 2017-12-19 21:20:12 +0000 |
---|---|---|
committer | Elan Ruusamäe <glen@pld-linux.org> | 2017-12-27 19:30:36 +0200 |
commit | e5b5d27deaf4855bd9cab67aed521c2dd0db00e4 (patch) | |
tree | d0931c7462cb9a4fb5117c68ec86644165a20582 /doc/administration | |
parent | 5b880f0d36b082a0b443c5fe95f51a84dee27475 (diff) | |
download | gitlab-ce-e5b5d27deaf4855bd9cab67aed521c2dd0db00e4.tar.gz |
plantuml.md: use html tags so code fence example would work
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/integration/plantuml.md | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/administration/integration/plantuml.md b/doc/administration/integration/plantuml.md index 93c3642a1f1..65f59b72690 100644 --- a/doc/administration/integration/plantuml.md +++ b/doc/administration/integration/plantuml.md @@ -58,30 +58,32 @@ our AsciiDoc snippets, wikis and repos using delimited blocks: - **Markdown** - ```plantuml - Bob -> Alice : hello - Alice -> Bob : Go Away - ``` + <pre> + ```plantuml + Bob -> Alice : hello + Alice -> Bob : Go Away + ``` + </pre> - **AsciiDoc** - ``` + <pre> [plantuml, format="png", id="myDiagram", width="200px"] -- Bob->Alice : hello Alice -> Bob : Go Away -- - ``` + </pre> - **reStructuredText** - ``` + <pre> .. plantuml:: :caption: Caption with **bold** and *italic* Bob -> Alice: hello Alice -> Bob: Go Away - ``` + </pre> 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. |