mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-11-29 06:40:29 +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>