gitbook-plugin-sequence-diagrams

1.1.0 • Public • Published

gitbook-plugin-sequence-diagrams

NPM

js-sequence-diagrams plugin for GitBook

Installation

$ npm install gitbook-plugin-sequence-diagrams

book.json add the plugin

{
  "plugins": ["sequence-diagrams"]
}

Configuration

book.json add the js-sequence-diagrams options

"pluginsConfig": {
  "sequence-diagrams": {
    "theme": "simple"
  }
}

Usage

put in your book block as

{% sequence %}
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
{% endsequence %}

Extend the width

{% sequence width=770 %}

Package Sidebar

Install

npm i gitbook-plugin-sequence-diagrams

Weekly Downloads

49

Version

1.1.0

License

MIT

Last publish

Collaborators

  • midnightsuyama