Mermaid Beauty

by theChildinus
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
252
downloads
0
forks
4
days
4
days
4
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
10
commits

Latest Version

4 days ago

Changelog

  • Fix Mermaid Zoom sizing and proportional strokes across all Beauty-enhanced diagram types, including flowcharts. Preserve inline rendering and explicit source styles.
  • Simplify the English and Chinese READMEs and replace the flowchart comparison with a 3600 px PNG.
  • Validation: 82 unit tests, 80 browser renders, and 555 behavior checks passed, including 165 Zoom checks. Production dependency audit found no vulnerabilities.

Requires Obsidian 1.12.7 or later. The offline renderer remains about 5.9 MB; Obsidian Sync Standard users must install it separately on each device because of the 5 MB per-file limit.

README file from

Github

Mermaid Beauty

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.

中文说明

Features

  • Light and dark themes: Mint, Slate, Sky, and Rose presets, plus custom colors for text, nodes, outlines, and connectors.
  • Adjustable appearance: font size, line width, rectangular corner radius, spacing, and fit-to-width. Supported relationship diagrams use ELK layouts, with Dagre also available.
  • Settings by diagram type: use shared defaults, choose a separate style, or keep the original renderer. Supports flowcharts, sequences, class diagrams, mind maps, charts, and more.
  • Local rendering: bundles Mermaid, ELK, and ZenUML. No diagram uploads, telemetry, or renderer downloads. Images explicitly linked in a diagram may still need a network connection.
  • Chinese and English interface: follows Obsidian's language or your preference.

Install

Requires Obsidian 1.12.7 or later.

Community plugins

Open Settings → Community plugins → Browse, search for Mermaid Beauty, then install and enable it. You can also open its community listing.

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Put all three files in <vault>/.obsidian/plugins/mermaid-beauty/.
  3. Reload Obsidian and enable Mermaid Beauty under Settings → Community plugins.

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.

Before and after

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.

Order fulfillment · Flowchart

Flowchart before and after Mermaid Beauty


MIT License · Third-party notices