Turns diagram source into SVG/HTML markup, synchronously or not. The host
supplies it (Mermaid via createMermaidRenderer, or anything else), which
keeps this package free of runtime dependencies; the markup is inserted
verbatim, trusted as the host's own output.
Turns diagram source into SVG/HTML markup, synchronously or not. The host supplies it (Mermaid via
createMermaidRenderer, or anything else), which keeps this package free of runtime dependencies; the markup is inserted verbatim, trusted as the host's own output.