Building the product · Edition No. 12 · 6 Sep 2026

mermaid-js/mermaid

Diagrams from a few lines of plain text, rendered natively by GitHub, Notion, Obsidian and Claude.

← Building the productRead the whole edition →

90.2k stars · MIT · @mermaid-js/tiny@11.17.2 (2026-08-25) · Track this in Scout

Diagrams from a few lines of plain text, rendered natively by GitHub, Notion, Obsidian and Claude.

▶Repo detailsthe review · specs · pros & cons

What it is

A library that renders diagrams — flowcharts, mind maps, timelines, sequences — from a few lines of plain text. GitHub, Notion, Obsidian and Claude all render Mermaid natively, so the recipient needs nothing installed.

What it is good for. A diagram drawn inside an app usually stays inside that app. The moment a user wants it in a report, a wiki page or a message to a colleague, the best they can do is a screenshot — a dead image with the product cropped out of the frame. A "Copy as Mermaid" button turns the diagram into portable text that redraws itself wherever it is pasted, and every one of those places is a surface where somebody else’s colleague sees the shape of the output. That is the cheapest distribution mechanism available to a tool of this kind, and it costs one serialiser over the tree the app already holds in state. It is also a second, phone-friendly view of a hierarchy alongside react-arborist (Ed. 7 #11).

Stars90.2k
LicenceMIT
Latest@mermaid-js/tiny@11.17.2 (2026-08-25)checked 7 Sep 2026
Written inTypeScript
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Renders natively on GitHub, in Notion and in Claude — no library for the person you send it to.
  • The output is small, diffable text, so it can live in a repo or a document.
  • Its mindmap and flowchart types match the shape a topic map or an outline already has.
Watch for
  • Layout control is limited: a two-hundred-node map will come out ugly and there is little you can do.
  • Embedding the renderer in the app itself adds real weight — prefer exporting text over shipping the library.
  • Text export loses your styling and the drill-in interaction entirely; it is a portable summary, not the product.
Works well with

It is also a second, phone-friendly view of the hierarchy alongside react-arborist (Ed.

Screenshots
mermaid-js/mermaid: GitHub preview cardmermaid-js/mermaid: Screenshot 1mermaid-js/mermaid: Screenshot 2

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.