mirror of
https://github.com/SillyTavern/Extension-Mermaid.git
synced 2026-10-15 13:31:49 +00:00
Adds Mermaid diagrams & flowcharts rendering to SillyTavern chats.
- JavaScript 94.3%
- CSS 5.7%
| dist | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| webpack.config.js | ||
Mermaid
This extension for SillyTavern allows you to draw diagrams using the Mermaid library.
How to use
- Install with the SillyTavern extension installer, using the URL
https://github.com/SillyTavern/Extension-Mermaid. - Use the
mermaidcode block in any chat to write your diagram.
For example:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
Will render as:
License
The extension is licensed under the AGPL-3.0 license.
Mermaid library is licensed under the MIT license.