0.0.1 • Published 10 years ago

gitbook-plugin-websequencediagrams v0.0.1

Weekly downloads
13
License
MIT
Repository
github
Last release
10 years ago

websequencediagrams.com integration for GitBook

1. You can use install it via NPM and save it to package.json:

$ npm install gitbook-plugin-websequencediagrams --save

2. add the plugin to book.json config

{
    "plugins": [ "websequencediagrams"]
}

3. paste websequencediagrams.com text into your book, for example:

{% websd style="rose" %}
title Authentication Sequence

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

The style parameter is optional, and defaults to "default" if not set