Hacker News new | ask | show | jobs
by kepano 49 days ago
I strongly agree, and that's why I designed Pele to only follow its syntax not its layout. See the examples https://pele.run/examples

The playground also has a Compare mode https://pele.run/playground

5 comments

The layout quality is very impressive!

Have you given much thought to diffing diagrams? The source can be version controlled and a source diff can be seen, but a visual diff would be amazing and easily sway me from writing prose to writing diagrams.

I've tested a couple of diagrams that I found on some website and I couldn't see any major differences in the layout. Can you point to some systematic differences?
FYI, first two examples are identical here: https://pele.run/examples/timeline

Edit: So is #7 (and almost #8), #9, 10, 11, 12 are identical as well

Could you not make Pele part of Marmaid or they wont accept a contribution like this?
To quote another reply regarding mermaid by @kepano:

> Mermaid.js has transitioned to "mermaid.ai" and is losing its original vision. Take a look at their new site.

> The latest version of Mermaid (12.1) ships with yet another layout engine (three now), and has a questionable safety record (see CVEs). In Obsidian 1.13 we had to introduce a new toggle/warning because of potential unsafe Mermaid diagrams.

https://x.com/kepano/status/2111575190081847776

This is so so awesome! I always find Mermaid hard to read but Pele is a delight. Just sponsored you on Github as a small way of saying thanks for Pele. Thank you so much kepano