Skip to content

A Liquid Tag for Jekyll to to embed a web sequence diagram from websequencediagrams.com

License

Notifications You must be signed in to change notification settings

robinhowlett/jekyll-wsd-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jekyll-wsd-tag is a Jekyll plugin to embed a web sequence diagram using the script provided by websequencediagrams.com

Requirements

Jekyll

Installation

Add jekyll-wsd-tag.rb to the _plugins directory of your Jekyll site.

Usage

{% 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:

  • default
  • earth
  • modern-blue
  • mscgen
  • omegapple
  • qsd
  • rose
  • roundgreen
  • napkin

Example

{% wsg %}  
title Authentication Sequence  

Alice->Bob: Authentication Request  
note right of Bob: Bob thinks about it  
Bob->Alice: Authentication Response  
{% endwsg %}

Result:

with wsd_style parameter

{% wsg rose %}  
title Authentication Sequence  

Alice->Bob: Authentication Request  
note right of Bob: Bob thinks about it  
Bob->Alice: Authentication Response  
{% endwsg %}  

Result:

License

License

About

A Liquid Tag for Jekyll to to embed a web sequence diagram from websequencediagrams.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages