MermaidChecked November 20266 min read

A Markdown editor with offline Mermaid

A Markdown editor with Mermaid diagrams, drawn offline in Ferrite. No network and no browser.

What you can draw

Ferrite 0.3.1 draws these Mermaid types in Rust. Nothing here calls out to a browser.

  • Flowchart
  • Sequence
  • State
  • Class
  • ER
  • Pie
  • Git graph
  • Gantt
  • Mindmap
  • Timeline
  • Journey

The longer how-to, including autonumber and %% @pos, is the Mermaid guide. The rest of the editor is on the features page.

Looking at a diagram

Click a rendered diagram, its popup button, or Ctrl+click it. Ferrite opens a native viewer in the app. You can zoom and pan, and fit the diagram to the pane. The viewer is dark-mode aware. It does not send you to a website.

v0.3.1 also rewrote the git graph, and sequence diagrams can use autonumber.

What is not here yet

You cannot export a diagram as SVG or PNG in this version. That export is v0.3.2 on the roadmap.

There is no LaTeX math. Math rendering is on the roadmap for v0.4.0. A diagram is not a substitute for an equation, and this page does not pretend it is.

Write a diagram

Fence the block as mermaid. This flowchart is enough to see it render:

flowchart LR
  A[Notes] --> B[Diagram]

Save the note as Markdown in the folder you opened. The diagram is part of the file. It still renders with the network off.

Other editors

People comparing diagram support usually look at three other pages on this site. Native Rust editors puts Ferrite next to Markion and Velotype, and it says where offline Mermaid is confirmed. Ferrite vs Obsidian is the plugin-platform comparison. Ferrite vs Typora is the live-preview comparison. Typora's site says it draws Mermaid. Ferrite's difference on this page is the offline Rust renderer, not a claim about whose diagrams look better.

Installers are on the download page.

Questions