Back to gallery
obsidianmd/pele on GitHub — open-source project preview
obsidianmd
Built byobsidianmd/

pele

Stars
4.7k
Forks
0
Watchers
0
Open issues
0
main Updated 11 hours ago~4,690 stars/day lifetime
Editor's take

Pele renders Mermaid diagram syntax to SVG, and it comes from the Obsidian team. It is synchronous, has no runtime dependencies, uses CSS variables for colors and fonts, and supports every diagram type built into Mermaid 12.1.0. You can import only the diagram types you need or lazy-load them, which is the whole point versus shipping the full Mermaid bundle. It also escapes text and limits source and output size for untrusted input. The tradeoff: it has its own layout engine and visual style, so diagrams will not look pixel-identical to Mermaid.js, and it tracks a specific Mermaid version rather than the latest syntax. MIT, about 4.7k stars, 400+ commits.

Use this if

You render Mermaid in docs, a chat UI or a notes app and the Mermaid.js bundle size or async rendering is hurting you.

Skip if

You need exact visual parity with Mermaid.js output or the newest Mermaid syntax the day it ships.

Charts & Viz
Quick install
# Clone + explore:
git clone https://github.com/obsidianmd/pele
cd pele
# Then read the README below for setup steps.

Inferred from package · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 24 Nov 2026