Gem Version

A plugin for jekyll to use plantuml diagram inside your Jekyll for you website.

This will use external resource to build plantuml diagram.

Once created, the diagram is store on the filesystem to prevent any unnecessary diagram generation. So, using this plugin, provide a simple way to integrate plantuml diagramm without the Graphiz software or the using the plantuml jar file.

Install Jekyll plugin

Install it first:

gem install jekyll-plantuml-url

With Jekyll 2, simply add the gem to your _config.yml gems list:

gems:
  - 'jekyll-plantuml-url'
  - ...

Or for previous versions, create a plugin file within your Jekyll project's _plugins directory:

# _plugins/plantuml-plugin.rb

require "jekyll-plantuml-url"

Highly recommend to use Bundler. If you're using it, add this line to your Gemfile:

gem "jekyll-plantuml-url"

choose a PlantUML-Server

Checkout PlantUML-Server to install your own plantUML server or use http://www.plantuml.com/plantuml.

and setup the _config.yml

Plantuml:
  url:          'http://www.plantuml.com/plantuml/' 
  type:         'svg'
  ssl_noverify: '0'
  http_debug:   '0'

If above settings are not defined, the above values are the default settings.

Test

Now, it's time to create a diagram, in your Jekyll blog page:

{% plantuml %}
[First] - [Second]
{% endplantuml %}