Skip to content
View original post on X: Orange AI
Published

ColaMD replaces Mermaid with Pele for faster diagram rendering

AIColaMD switches its diagram engine from Mermaid to Pele, a renderer from Obsidian's kepano that keeps Mermaid syntax. Pele's renderer shrinks from 10M to 5.4M and draws a diagram in 20 milliseconds.
Orange AIVerified on X
@oran_ge
View on X

ColaMD 的图表引擎从 Mermaid 换成 Pele 了。
语法不变,但渲染器体积从 10M 降到 5.4M,一张图画好只要 20 毫秒。

欢迎下载使用
https://ColaMD.com

kepano@kepano
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 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. Pele [ˈpɛlɛ] is named after the goddess of volcanoes and fire. It's open source under the MIT license. Try the playground!
View quoted post on X
Source details

Orange AI · x.comPublished · added here

Original title: ColaMD 的图表引擎从 Mermaid 换成 Pele 了。