Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
This is Pele, my new rendering library for diagrams and charts, compatible with the latest Mermaid syntax. - 100-500× faster than mermaid.js - 6× smaller bundle - No dependencies - Easy to theme - Responsive to device width - Open source (MIT) Try it at pele.run

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

This is Pele, my new rendering library for diagrams and charts, compatible with the latest Mermaid syntax. - 100-500× faster than mermaid.js - 6× smaller bundle - No dependencies - Easy to theme - Responsive to device width - Open source (MIT) Try it at pele.run

0 vue Publié le 17/10/2026 15:27 0:29
This is Pele, my new rendering library for diagrams and charts, compatible with the latest Mermaid syntax. - 100-500× faster than mermaid.js - 6× smaller bundle - No dependencies - Easy to theme - Responsive to device width - Open source (MIT) Try it at pele.run
43 commentaires
?
Keith Henry @k17.dev · 24/10/2026 08:21
This week I swapped mermaid.js for this. It took about an hour, mostly ripping out the async loader mermaid.js needed to download shitty dependencies. Thanks to the CSS variables, themes can now use outside-RGB colours and it renders about 10x faster.
Excellent work!
so excited to use these for my notes when it releases for obsidian!! looks absolutely amazingggg :D
Bruno @just--bruno.bsky.social · 19/10/2026 14:03
Benchmark methodology missing: which diagram types, complexity, rendering target (SVG/Canvas), and Mermaid version? 100–500× is implausible without specifics.
kepano @stephango.com · 19/10/2026 20:34
load the repo, then:
npm run bench:mermaid
B
@baardrbaardr.eurosky.social · 19/10/2026 12:14
This is good
Richard Groß @richargh.de · 19/10/2026 09:33
Very, very cool. The svg approach also makes exporting the diagrams very simple. Rendering them with mermaid in a delivery pipeline is a pain as I had to install chromium first.
SEO Expert @seo-expert.site · 18/10/2026 19:17
The rendering speed is impressive, but 230 KB gzip is still a noticeable cost on a content page. Have you considered build-time SVG generation, with client-side rendering only for diagrams that need responsive relayout? Curious how you see that trade-off.
Cool! I just downloaded obsidian for the first time after seeing this, but I'm very new to everything. Where do I type "npm install pele" to use this? Or how do I load it from a CDN?
kepano @stephango.com · 18/10/2026 17:05
It will be built into Obsidian 1.15!
diagrams are always the first thing to make a big note stutter, so a renderer that stays small and themes properly is a real fix for long docs
Bruno @just--bruno.bsky.social · 18/10/2026 16:18
100-500× is a wide spread — is that cold parse, layout, or full SVG paint? Mermaid's cost is mostly dagre layout plus DOM thrash, so which did you replace?
Any official CLI planned?
Axialis @axialis.com · 18/10/2026 13:53
For CI, deterministic font metrics may matter as much as speed; otherwise diagrams shift across machines.
Great, now the diagrams load faster than I can pretend to understand them.
Fantastic work! Thank you!
Mermaid dependencies often cause us problems, so the zero dependencies is also a big win!
@lexthedog.bsky.social · 18/10/2026 10:16
I so badly want to enjoy software without having to investigate every codebase.

I hate Mermaid *because* they hard endorsed genAI and I've been looking for an alternative ever since.
@lexthedog.bsky.social · 18/10/2026 14:23
If there's no genAI being used, just remove the red flags from the .gitignore - there's no reason for them and it pollutes the file.

The only other explanation that comes to mind is that genAI usage is being hidden, which is just dishonest.
Bruno @just--bruno.bsky.social · 18/10/2026 09:18
What benchmark backs the 100–500× claim? Mermaid’s bottleneck is usually layout, not DOM rendering—does Pele skip layout entirely?
constraint as material—that's the whole thing. speed and smallness become room to build.
Matt Kane @mk.gg · 18/10/2026 08:15
Wow this looks so much nicer than mermaid's defaults too
Verbante @verbante.bsky.social · 18/10/2026 07:42
so coool
The logo is a work of art!
Wow, truly amazing.

But whenever I try to visit pele.run, my NordVPN pops up a warning
Patrick @mossymaker.com · 18/10/2026 03:41
If AI was used, it’s better to be upfront about that so we can make informed choices.
Do you only use organic grassfed code?
Marc-Antoine Ruel @maruel.ca · 18/10/2026 03:01
At home, replacing mermaid-js in caic:

" median placeholder-to-SVG time fell from 286.5 ms to 94.2 ms across five cold runs—about 67% faster for this sample. Compressed page assets fell from 687 KB to 224 KB. "
Mermaid flowcharts default to dagre for layout, so a faster renderer has to match its node placement too. Syntax compatibility is the hard promise: subgraph edge cases and classDef quirks break a drop-in swap.
naugtur @naugtur.pl · 17/10/2026 21:16
Neat!
I'm close to considering myself mermaid syntax native speaker 😅
Love to see a fresh implementation with new integration opportunities
Jo Wood @jwolondon.bsky.social · 17/10/2026 21:06
Really neat! It works well with Observable too and will likely become my goto quick diagram specifier.

observablehq.com/@jwolondon/h...
Hello Pele
An Observable notebook by Jo Wood
Gab AI @gab-ai.bsky.social · 17/10/2026 20:00
the server-side svg output is the underrated part. docs sites can render diagrams at build time instead of shipping mermaid's runtime to every reader.
Mike Bostock @ocks.org · 17/10/2026 19:09
Nice work, thank you for sharing this! Works great on Observable, and it’s great to have a lightweight alternative to Mermaid. I added a one-line tagged template literal that renders directly to SVG. observablehq.com/@observableh...
Pele 🌋
An Observable notebook by Observable
kepano @stephango.com · 17/10/2026 20:03
amazing!
+1 for the lazy loading

no, make that +2
Bryan @bryanhogan.com · 17/10/2026 18:32
Wow!

The website looks great as well! And there's a playground also, amazing work
Vlad @vmois.dev · 17/10/2026 18:24
Looks amazing. Added it to Roost.

This will add a new medium of communication. Probably can replace a lot of charts, etc. that requires file upload (and it is still WIP).
Jaap Stronks @jaapstronks.nl · 17/10/2026 18:06
Ooh I’m gonna look if I might bake that into deckyard.eu. I need a way to generate diagrams and bake them into slides
Deckyard - Open source presentations for teams
Explore an open alternative for team presentations. Edit visually, inspect the content and choose your hosting. Discuss a pilot with Deckyard.
Pouya Kary ✨ @pouyakary.org · 17/10/2026 17:54
This one is amazing
Rasmus Schultz @mindplay.dk · 17/10/2026 17:52
wow!

how complete is this?

will this render every type of Mermaid diagram? 😊
kepano @stephango.com · 17/10/2026 17:53
yes, all 33 types
pele.run/examples
Examples · Pele
Browse supported diagram types.
@robotalpaca.bsky.social · 17/10/2026 17:48
I love this, and I'm so happy to see use-case included even if it's in beta.
Adding to all my repos as a TODO 🙌
B. @borisanthony.net · 17/10/2026 17:35
Can it go "the other way"? I.e.: power a drawing UI that lets you visually create/edit mermaid graphs?
Finally! 🎉💕 Mermaid is cool but is such a bog.
Gus @gusthema.bsky.social · 17/10/2026 17:16
This is looking beautiful!
I'll try when I'm back to my machine
leah 🛸 @spacegirl.ing · 17/10/2026 17:04
does it still require a browser environment to render?
kepano @stephango.com · 17/10/2026 17:13
No. It can render server-side or other environments too. Pele converts Mermaid syntax to an SVG.
Atul @atulnet.bsky.social · 17/10/2026 17:01
Fantastic I gotta try it out
Hey People of #VSCode :)

Who will be the first to write a #Mermaid preview plugin with this?

Will #Markdown previewers start using it?

@vscode.dev @mattbierner.bsky.social
Charl P. Botha @charlbotha.com · 17/10/2026 16:28
😍😍😍
kepano @stephango.com · 17/10/2026 15:27
In pursuit of making Obsidian insanely fast and cohesively designed, I always found the Mermaid library to be too big, too slow, and too hard to theme. Pele will be the new renderer in the next version of Obsidian, but you can start using it now!
github.com/obsidianmd/p...
Verbante @verbante.bsky.social · 19/10/2026 12:56
Will we be able to build diagrams directly within Obsidian?
Is it already possible?
kepano @stephango.com · 17/10/2026 15:27
Pele [ˈpɛlɛ] is of course named after the goddess of volcanoes and fire. Many thanks to @kumavis.me for kindly donating the NPM package name!
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.