MCPcopy
hub / github.com/vercel/streamdown / MermaidInstance

Interface MermaidInstance

packages/streamdown/lib/plugin-types.ts:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 * Mermaid instance interface
74 */
75export interface MermaidInstance {
76 initialize: (config: MermaidConfig) => void;
77 render: (id: string, source: string) => Promise<{ svg: string }>;
78}
79
80/**
81 * Plugin for diagram rendering (Mermaid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected