Adding UML Diagrams to Rehype in Astro (With rehype-mermaid)

I render Mermaid diagrams in Astro markdown with rehype-mermaid and Playwright, including dark mode support and inline images.