gitbook-plugin-puml-aleung

UML Diagrams rendering using PlantUML

Usage no npm install needed!

<script type="module">
  import gitbookPluginPumlAleung from 'https://cdn.skypack.dev/gitbook-plugin-puml-aleung';
</script>

README

PlantUML in GitBook

Note:

This is a fork of the Gitbook puml plugin to fix issues. The original project was out of maintenance.

UML Diagrams rendering using PlantUML.

NPM version

Configure the plugin in your book.json:

{
    "plugins": ["puml-aleung"]
}

Then in your content:

This is a diagram:

{% plantuml %}
Bob->Alice : hello
{% endplantuml %}

The plugin will replace the {% plantuml %} by SVG images (and PNG images for ebook output).