Skip to content

Commit e30f089

Browse files
Added drawio support.
1 parent f215c58 commit e30f089

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

docs/Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ gem "minima", "~> 2.5"
1616
# If you have any plugins, put them here!
1717
group :jekyll_plugins do
1818
gem "jekyll-feed", "~> 0.12"
19+
gem "jekyll-drawio"
1920
end
2021

2122
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

docs/user-guides/assets/test.drawio

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<mxfile host="65bd71144e">
2+
<diagram id="fvhcl42C104IOaEjqJng" name="Page-1">
3+
<mxGraphModel dx="1668" dy="463" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="5" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="2" target="3">
8+
<mxGeometry relative="1" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="2" value="Item 1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
11+
<mxGeometry x="90" y="100" width="120" height="60" as="geometry"/>
12+
</mxCell>
13+
<mxCell id="6" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="3" target="4">
14+
<mxGeometry relative="1" as="geometry"/>
15+
</mxCell>
16+
<mxCell id="3" value="Item 2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
17+
<mxGeometry x="270" y="100" width="120" height="60" as="geometry"/>
18+
</mxCell>
19+
<mxCell id="4" value="Item 3" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
20+
<mxGeometry x="470" y="100" width="120" height="60" as="geometry"/>
21+
</mxCell>
22+
</root>
23+
</mxGraphModel>
24+
</diagram>
25+
</mxfile>

docs/user-guides/drawio.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: default
3+
title: Draw IO
4+
parent: User Guides
5+
6+
---
7+
## Using Draw io
8+
9+
Reference a drawio file by:
10+
11+
{% raw %}
12+
13+
```text
14+
{% drawio path="./user-guides/assets/test.drawio" page_number=0 height=400 %}
15+
```
16+
17+
{% endraw %}
18+
19+
{% drawio path="./user-guides/assets/test.drawio" page_number=0 height=400 %}

0 commit comments

Comments
 (0)