mdBook PlantUML
mdBook preprocessor to render PlantUML code blocks to embedded SVG in your book.
Usage
First create the preprocessor in your book.toml file:
[]
= ["Dzjengis Khan"]
= false
= "src"
= "mdBook PlantUML preprocessor"
[]
="plantuml.exe"
The above assumes both the mdbook-preprocessor and the plantuml executable are on your path.
Then simply add a PlantUML code block in your book text:
Some text here
```plantuml
@startuml
Some more text.
The plantuml code block will be replaced with inline SVG data.
Options
- plantuml-cmd: Optional command override for PlantUML (defaults to "java -jar plantuml.jar" on Windows and "/usr/bin/plantuml" on Linux).