Skip to content

fjordsf/gitbook-plugin-sequence-diagrams

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 %}

About

js-sequence-diagrams plugin for GitBook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • HTML 49.6%