/Extension-Mermaid

Adds Mermaid diagrams & flowcharts rendering to SillyTavern chats.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Mermaid

This extension for SillyTavern allows you to draw diagrams using the Mermaid library.

How to use

  1. Install with the SillyTavern extension installer, using the URL https://github.com/SillyTavern/Extension-Mermaid.
  2. Use the mermaid code block in any chat to write your diagram.

For example:

```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```

Will render as:

image

License

The extension is licensed under the AGPL-3.0 license.

Mermaid library is licensed under the MIT license.