Automatically exported from code.google.com/p/asciidoc-plantuml
Python
Latest commit 11b86fa Feb 20, 2016 Stanislav Berkov Added plantuml macro
Permalink
Failed to load latest commit information.
dist Added plantuml macro Feb 20, 2016
src Added plantuml macro Feb 20, 2016
test initial commit Jan 16, 2012
readme.md Added plantuml macro Feb 20, 2016

readme.md

AsciiDoc plantuml filter

Imported from https://code.google.com/archive/p/asciidoc-plantuml

Upgraded version of plantuml.

How to install

  1. Make sure you have python 2.x
  2. Clone repository
git clone https://github.com/stasberkov/asciidoc-plantuml.git
  1. Register filter in asciidoc
asciidoc --filter install asciidoc-plantuml/dist/asciidoc-plantuml-filter.zip 

AsciiDoc will unzip files and copy them to convenient for it location.

How to use

As filter for code blocks

...
some text
...
[plantuml, .temp/rtd-redesign.png, png]
----
class c1
class c2
c1->c2: Call
----
...
some more text
...

As macro

dynamic-view.txt is a file that contains planuml source file

...
some text
...
plantuml::dynamic-view.txt[]
...
some text
...