plantuml.md: use html tags so code fence example would work
This commit is contained in:
parent
5b880f0d36
commit
e5b5d27dea
1 changed files with 10 additions and 8 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue