Commit 73eb40d3 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'patch-11' into 'master'

doc/plantuml.md: use html tags so code fence example would work

[ci skip]

See merge request gitlab-org/gitlab-ce!16026
parents 17b878da e5b5d27d
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment