Merlay 0.1.1
Merlay 0.1.1 — Community review compliance
Mermaid, your way. A native visual overlay editor for Mermaid diagrams in Obsidian.
Fixes
- Pass Obsidian community plugin review: rendered Mermaid SVG is parsed into inert nodes and adopted into the DOM instead of
innerHTML, preserving Mermaid's theme<style>(scripts and inline handlers are removed before insertion). - Replace direct
element.stylewrites withsetCssStyles()across canvas interactivity and the Reading-view edit button. - Use
Setting.setHeading()for settings section titles instead of raw HTML headings. - Drop deprecated
builtin-modulesin favor of Node'smodule.builtinModulesin the build config.
Install
BRAT (beta): add https://github.com/dev-hashemi/merlay in BRAT → Add Beta plugin.
Manual: download main.js, manifest.json, styles.css below into .obsidian/plugins/merlay/, then enable Merlay under Settings → Community plugins.
Requires Obsidian 1.4.0 or newer. Desktop and mobile supported.
Notes
- Flowchart and state diagrams are fully visual; other diagram types open view-only with selection.
- Please report issues at https://github.com/dev-hashemi/merlay/issues — include Obsidian version, installer version, and a minimal
mermaidblock that reproduces the problem.
Full Changelog: 0.1.0...0.1.1