← Back to directory

pi-mermaid

🧜‍♀️ Pi extension that renders Mermaid diagrams as ASCII in the TUI, with width-aware output and safe handling for larger diagrams.

RenderingVerified with notes★ 50MIT

Safety notes

Verified with notes
Renders Mermaid diagrams as ASCII in the TUI.

Static scan findings

This is a first-pass static screen, not a formal audit. It flags patterns worth reading before install.

MEDIUM · spawn_shell
index.ts
  • while ((match = MERMAID_BLOCK_RE.exec(text)) !== null) {
MEDIUM · token_access
index.ts
  • function getMermaidTypeToken(block: string): string | null {
  • function getSupportedMermaidType(block: string): { token: string | null; normalized: string | null } {
  • const token = getMermaidTypeToken(block);
MEDIUM · token_access
README.md
  • - Token efficiently adds parser warnings/errors to LLM context

Package scripts captured

No package scripts captured.