Sha256: 43be843a4339ab66fe57a2f68b0114e9cb5c7d49417161f1a4dbcf531520e25d

Contents?: true

Size: 1.52 KB

Versions: 1

Compression:

Stored size: 1.52 KB

Contents

[![Gem Version](https://badge.fury.io/rb/jekyll-plantuml-url.svg)](http://badge.fury.io/rb/jekyll-plantuml-url)

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:

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

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

```ruby
# _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](https://github.com/plantuml/plantuml-server) to install your own plantUML server or use http://www.plantuml.com/plantuml.

and setup the `_config.yml`

```yaml
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 %}
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-plantuml-url-0.1.0 README.md