0.0
No release in over a year
Jekyll plugin to generate HTML snippets for embedding draw.io diagrams
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.2, < 5.0
~> 4.3
~> 1.12
 Project Readme

jekyll-drawio

Overview

Gem Version

The plugin provides the functionality for generating embedded draw.io diagrams.

Usage

Update the Gemfile and add the jekyll-drawio plugin:

group :jekyll_plugins do
  gem "jekyll-drawio"
end

Now you can embed draw.io diagrams using the following tag:

{% drawio path="<path_to_diagram>" page_number=<page_number> height=<height_in_px> %}

Parameters:

path - relative path to a diagram.

page_number - page number from the diagram that should be embedded. NOTE: the numeration starts from 0.

height - diagram frame height in px.