Skip to content

Dynamically convert PlantUML content inside DITA topics to SVG

License

Notifications You must be signed in to change notification settings

darrenn-jackson/dita-ot-diagrams-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dita-diagrams-svg

DITA Open Toolkit plugin which allows publishing embedded Plant UML and Mermaid diagrams to HTML and PDF.

http://plantuml.com/index

https://mermaid-js.github.io

The plugin was tested and developed with DITA OT 3.7

If you set the @outputclass="embed-mermaid-diagram" attribute on a DITA <foreign> element the plugin will attempt to convert it to SVG using the free Mermaid web site converter.

If you set the @outputclass="embed-plant-uml" attribute on a DITA <foreign> element the plugin will attempt to convert it to SVG using the PlantUML project..

The "samples" folder contains a sample DITA topic with a Plant UML equation which is properly displayed when converted to HTML and PDF-based outputs.

Preview Plant UML as SVG

Copyright and License

Copyright 2022 Syncro Soft SRL.

This project is licensed under Apache License 2.0. The plugin contains a Java library provided by the PlantUML project under the Apache 2.0 License.

About

Dynamically convert PlantUML content inside DITA topics to SVG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 54.8%
  • XSLT 45.2%