# Pele renders Mermaid diagrams up to 500× faster than Mermaid.js

Original title: Pele – Mermaid diagrams as themeable SVG

> Hacker News story 50132193 · language: en · submitted 2026-10-17
> Web version: https://zeli.app/story/50132193
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 564 · by [dchest](<https://news.ycombinator.com/user?id=dchest>) · 💬 58
[original](<https://pele.run/>) · [HN discussion](<https://news.ycombinator.com/item?id=50132193>)

## Summary

Pele is a zero-dependency renderer that turns Mermaid syntax into themeable SVG. It supports every diagram type in Mermaid 12.1.0, ships at 230 kB gzipped versus 1.6 MB, and renders in 0.05–0.3 ms compared to Mermaid.js's 6–82 ms. Colors and fonts are set via CSS variables without re-rendering. Developed for Obsidian and open source, it adapts layouts to small screens.

## Key quote

> Zero dependencies, 6× smaller, and up to 500× faster than Mermaid.js.

## HN discussion (58 comments)

### [lukeify](<https://news.ycombinator.com/item?id=50134757>)

> Anytime I try mermaid for anything more complex than a toy diagram I always end up absolutely frustrated by the arcane and topologically poor layout that is produced.
>
> Styling seems like a trivial problem by comparison.

### [dkga](<https://news.ycombinator.com/item?id=50138074>)

> Brazilian me thought it was an homage to Pelé. I’m glad the text explains the name.

### [Ancapistani](<https://news.ycombinator.com/item?id=50137419>)

> \> A flowchart subgraph keeps its own direction even when it links to nodes outside the subgraph.
>
> This, in and of itself, is sufficient reason for me to switch, even if it were slower than Mermaid.js.
>
> I’ve not even made it through the list yet and I’m sold.

### [Imustaskforhelp](<https://news.ycombinator.com/item?id=50133662>)

> Is pele open source?
>
> I tried to find the source code of it but I was unable in finding so
>
> Edit: found it, https://github.com/obsidianmd/pele
>
> Also folks, this is a good reminder to please have a github icon on the top of the page to easily show git/github links if the app is open source, also helps in the fact that I can star your projects and bookmark them more easily :-D

### [nickmain](<https://news.ycombinator.com/item?id=50133359>)

> Does the official Mermaid library still require a full or headless browser environment in order to lay out the SVG? If so, Pele is great news for embedding Mermaid rendering in other places.

---

## Cite

- Page: https://zeli.app/story/50132193
- Date: 2026-10-17
- Source: pele.run (https://pele.run/)
- Hacker News: https://news.ycombinator.com/item?id=50132193

## Other languages

- zh: https://zeli.app/zh/story/50132193 · markdown: https://zeli.app/zh/story/50132193.md
- ja: https://zeli.app/ja/story/50132193 · markdown: https://zeli.app/ja/story/50132193.md
- ko: https://zeli.app/ko/story/50132193 · markdown: https://zeli.app/ko/story/50132193.md
- de: https://zeli.app/de/story/50132193 · markdown: https://zeli.app/de/story/50132193.md
- es: https://zeli.app/es/story/50132193 · markdown: https://zeli.app/es/story/50132193.md
- ru: https://zeli.app/ru/story/50132193 · markdown: https://zeli.app/ru/story/50132193.md
