theChildinus401 downloadsStyle Mermaid diagrams with a consistent theme and choose rendering, colors, typography, and layout for each diagram type.
Make Mermaid diagrams in Obsidian easier to read with consistent colors, typography, lines, and layouts. Works with your existing mermaid code blocks; no source changes needed.
Requires Obsidian 1.12.7 or later.
Open Settings → Community plugins → Browse, search for Mermaid Beauty, then install and enable it. You can also open its community listing.
main.js, manifest.json, and styles.css from the latest release.<vault>/.obsidian/plugins/mermaid-beauty/.Existing diagrams are styled automatically. Open Settings → Mermaid Beauty to choose colors and adjust their appearance. Explicit styles in diagram source take precedence. Disable other plugins that replace Mermaid's renderer if they conflict.
Obsidian Sync Standard: the bundled renderer is about 5.9 MB, exceeding its 5 MB per-file limit. Install the plugin separately on each device. Mobile behavior still needs device testing.
Both versions use the same Mermaid source. Before runs native Mermaid 11.13.0 independently with its default theme and layout; After uses Mermaid Beauty's Mint preset. Click the image to view it at full resolution.