Pandoc filter for converting plantuml source into markdown codeblock to image by the plant uml server.
This filter has depended on plantuml server.
Please use online web (http://www.plantuml.com/plantuml/), or launch locally.
And docker compose configuration file is included into docker
folder in ihis repository.
Rename configuration file name to docker-compose.yml
to loaunch a docker image.
% docker-compose -f docker/docker-compose.yml -d up
config-plantuml.lua.default
file is included into config
folder in this repository.
This file is settings for PlantUML sever.
- protocol
- http or https
- host_name
- PlantUML service host name
- port
- PlantUML service port number
- format
- generated file format
- supports 'png', 'svg' and 'txt'
This filter has processed codeblock in markdown file.
codeblock mark plantuml
class.
snipets:
```plantuml Bob -> Alice : hello ```
or
```{.plantuml} Bob -> Alice : hello ```
% pandoc --lua-filter=src/plantuml.lua example/files/example.md --resource-path=example/images
This repository is licensed under the zlib license. See LICENSE.txt. Their original licenses shall be complied when used.