docsify-swimlanes-io

1.1.1 • Public • Published

docsify-swimlanes-io is a docsify plugin that let you embed swimlanes.io sequence diagrams in docsify.

How to use

Just add the plugin script:

<script src="//unpkg.com/docsify-swimlanes-io@latest/dist/docsify-swimlanes-io.js"></script> 

And add the diagram text:

```swimlanes-io
title: Simple example
A -> B: Ping
B --> A: Pong
```

Alternatively use a <swimlanes-io> element. This is required if you want to render code blocks in the diagram.

<swimlanes-io>
title: Simple example
A -> B: Ping
note:
```
{
    // code block
}
```
B --> A: Pong
</swimlanes-io>

See the swimlanes.io syntax overview for more details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    31
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    31
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i docsify-swimlanes-io

Homepage

swimlanes.io

Weekly Downloads

31

Version

1.1.1

License

ISC

Unpacked Size

155 kB

Total Files

9

Last publish

Collaborators

  • drhoffmann