mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Mermaid code blocks showed up as code. Mermaid is loaded lazily, and diagrams are redrawn when the app theme changes. DOMPurify's config moves from a global `setConfig` to each call site, because the global one stripped mermaid's SVG output. Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>