Skip to content

Add ink-mermaid to Useful Components - #953

Open
mk668a wants to merge 1 commit into
vadimdemedes:masterfrom
mk668a:add-ink-mermaid
Open

Add ink-mermaid to Useful Components#953
mk668a wants to merge 1 commit into
vadimdemedes:masterfrom
mk668a:add-ink-mermaid

Conversation

@mk668a

@mk668a mk668a commented May 13, 2026

Copy link
Copy Markdown

Adds ink-mermaid to the Useful Components list.

  • What it does: Renders Mermaid diagrams (flowchart, sequence, state, class, ER, XY chart) as ASCII/Unicode inside Ink-based terminal UIs.
  • How: Thin wrapper around beautiful-mermaid — no headless browser, no external CLI, pure TypeScript.
  • Status: Published on npm as ink-mermaid@0.1.0. MIT licensed. TypeScript types included. CI on Node 22/24.
import {Mermaid} from 'ink-mermaid';

<Mermaid code={`graph LR
  A[Start] --> B{Decision}
  B -->|Yes| C[Done]`} />

@mk668a
mk668a force-pushed the add-ink-mermaid branch from d41c36a to 12a0dd8 Compare May 20, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant