--- // MermaidDiagram.astro // Component for rendering Mermaid diagrams with proper styling and error handling export interface Props { id: string; source: string; class?: string; } const { id, source, class: className = '' } = Astro.props; ---
{source}