Mermaid Lumina

unlisted

by AceOfSpadesOmelette

Open Mermaid diagrams in a zoomable lightbox with a bright white canvas — works on desktop and mobile.

Updated 2d ago
View on GitHub

Mermaid Lumina

Open Mermaid diagrams in a zoomable lightbox with a bright white canvas. Works in Reading view and Live Preview on desktop and mobile.

Features

  • Tap or click any Mermaid diagram to open the lightbox
  • White background in the lightbox (ignores vault dark theme)
  • Light-theme diagram colors so shapes and label text stay readable
  • Pinch to zoom, drag to pan, double-tap to toggle fit / 2×
  • Type a zoom percentage in the toolbar for exact scale
  • Mouse wheel zoom and on-screen controls
  • Esc or click outside the diagram to close

Install (manual)

  1. Copy main.js, manifest.json, and styles.css into
    <vault>/.obsidian/plugins/mermaid-lumina/
  2. Enable Mermaid Lumina in Obsidian Settings → Community plugins

Develop

npm install
npm run build

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.