| Summary | Discourse Pele renders Mermaid diagrams with Pele: 6x smaller, up to 500x faster, no dependencies, theme-able with CSS variables. | |
| Repository Link | https://github.com/discourse/discourse-pele-theme-component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Usage
```mermaid
flowchart LR
A --> B
```
flowchart LR
A --> B
Diagrams can also be inserted from the composer’s
menu → Diagram, and opened fullscreen with zoom.
Works in posts and chat messages. Uses the same syntax as Discourse Mermaid, so existing diagrams render without any changes.
Learn more about the supported diagrams on the official website: https://pele.run
Graphs won’t be rendered in emails
Translations
| Name | Default |
|---|---|
| diagram | Diagram |
| view_fullscreen | View fullscreen |
| rendering_error | Unable to render diagram: %{message} |
| zoom_in | Zoom in |
| zoom_out | Zoom out |
| reset_zoom | Reset zoom |
Hosted by us? Theme components are available to use on our Pro, Business and Enterprise plans.