jekyll-wsd-tag is a Jekyll plugin to embed a web sequence diagram using the script provided by websequencediagrams.com
Add jekyll-wsd-tag.rb to the _plugins directory of your Jekyll site.
{% wsg %}
diagram source text{% endwsg %}
Alternatively you can provide a parameter to change the style of the diagram
{% wsg *wsd_style* %}
diagram source text{% endwsg %}
Where wsd_style
is one of:
{% wsg %}
title Authentication Sequence
Alice->Bob: Authentication Request
note right of Bob: Bob thinks about it
Bob->Alice: Authentication Response
{% endwsg %}
Result:
{% wsg rose %}
title Authentication Sequence
Alice->Bob: Authentication Request
note right of Bob: Bob thinks about it
Bob->Alice: Authentication Response
{% endwsg %}
Result: