gpj
gitbook-plugin-js-sequence-diagram
npm i gitbook-plugin-js-sequence-diagram
gpj

gitbook-plugin-js-sequence-diagram

JS Sequence Diagram plugin for GitBook

by Geoff Massanek

0.0.8 (see all)License:Apache 2TypeScript:Not Found
npm i gitbook-plugin-js-sequence-diagram
Readme

JS Sequence Diagram Plugin

Install the JS Sequence Diagram plugin via NPM, which should be installed globally using the -g option:

$ npm install gitbook-plugin-js-sequence-diagram -g

As you are installing globally, you may need to put sudo in front of the command, sudo npm install gitbook-plugin-js-sequence-diagram -g

To use the plugin in your Gitbook project, add the plugin to the book.json file.

{
    "plugins": ["js-sequence-diagram"]
}

Then, to include a sequence diagram, just wrap your definition in a "sequence" code block. For example:

``` sequence
Title: Here is a title
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
```

Please reference the js-sequence-diagrams documentation for details on syntax.

Downloads/wk

6

GitHub Stars

12

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

10

OPEN ISSUES

3

OPEN PRs

0
VersionTagPublished
0.0.8
latest
8yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate