A docsify plugin that embed swimlanes.io sequence diagrams.
npm install docsify-swimlanes-iodocsify-swimlanes-io is a docsify plugin that let you embed swimlanes.io sequence diagrams in docsify.
Just add the plugin script:
``html`
And add the diagram text:
`swimlanes-io`
title: Simple example
A -> B: Ping
B --> A: Pong
Alternatively use a element. This is required if you want to render code blocks in the diagram.
title: Simple example
A -> B: Ping
note:
```
{
// code block
}
B --> A: Pong
See the swimlanes.io syntax overview for more details.