poka.sh

Docs

MMD

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

Mermaid Diagram Preview.

At a glance

Purpose A Mermaid diagram source: a text description of a flowchart, sequence, class, state, Gantt or other diagram that Mermaid renders.
Extensions .mmd
Poka parser poka-mermaid
Viewer poka-text-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B3 Core (see Breadth tiers)

How much Poka reads

B3 Core. Only the main content type or types are decoded (for example geometry but not materials, layers or annotations, or only one version family). The list of gaps is substantial.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-mermaid/src/main.rs (140 lines), plugin.json and poka-text-viewer. No unit tests or tests/samples.rs, and the corpus has no .mmd and .mermaid sample. Covers .mmd and .mermaid. The source is shown as plain text, labelled with the diagram type read from the first declaration line (22 types, front matter and %% comments skipped). Judgement: B3, because the text is shown in full but the diagram is never rendered.

What Poka does not read

  • The diagram is not rendered
  • Nothing inside the diagram is read: nodes, edges, participants and labels are not counted or listed
  • Diagram types missing from the list (newer Mermaid types) show as unknown type
  • Shown as plain text without syntax highlighting
  • The text shown stops at 200,000 characters and files over 8 MiB are cut (both flagged)

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • merman-core (candidate; MIT OR Apache-2.0; Rust; https://docs.rs/merman-core) — Headless Mermaid parser and semantic model aiming at parity with upstream Mermaid; diagram types selected by feature flags (v0.8.0).
  • Mermaid (mermaid-js/mermaid) (candidate; MIT; JavaScript/TypeScript; https://github.com/mermaid-js/mermaid) — Reference implementation that turns Mermaid text into diagrams; repo page does not mention the .mmd extension itself.

Sources

  • parsers/poka-mermaid/src/main.rs
  • parsers/poka-mermaid/plugin.json