PlantUML transforms texts into UML diagrams (class, sequence, ...), ER diagrams, etc. This plugin adds an easy-to-use PlantUML support to the HTML presentation framework reveal.js
- Add the file
lib/deflate.js
to thelib
folder of reveal.js and add the following line to your presentation before reveal.js initialization:
<script src="lib/deflate.js"></script>
- Add the file
plugin/plantuml.js
to theplugin
folder of reveal.js and include the following line in your dependencies list of the reveal.js initialization:
{ src: 'plugin/plantuml.js', async: true }
Your folder structure:
- lib/deflate.js
- plugin/plantuml.js
- your_presentation.html
PlantUML images can be created in the slides with <img uml="..."/>
<img uml="Bob->Alice : hello"/>
This will show the generated image.
Important: Double-quote characters "
must be replaced by "
MIT licensed
Copyright (C) 2020 Johannes Schildgen