# couplet > Minimalist live-preview markdown editor for macOS (formerly md-mini) couplet is a free, open-source markdown editor built with Tauri 2, Svelte 5, and CodeMirror 6. You edit raw markdown and see it rendered inline — no split panes, no mode switching. The CLI answers to `couplet`, the short alias `coup`, and `mdmini`. Until the renamed release ships, the Homebrew cask and the MCP setup keep the `mdmini` name; after it, all three work. ## Features - **Live preview** — markdown renders inline as you type - **Mermaid diagrams** — flowcharts, sequence, class, state, ER, Gantt, pie, gitgraph, mindmap render as inline SVG - **GFM tables** — interactive editing, drag to reorder rows/columns, inline formatting - **Syntax-highlighted code blocks** — 100+ languages with copy button - **Collapsible headings** — fold/unfold document sections - **Secret masking** — sensitive values in .env and shell configs (.zshrc, .bashrc) hidden by default - **Shell config highlighting** — .zshrc, .bashrc, .profile render with Shell syntax - **File watching** — auto-reloads on external changes - **CLI launcher** — `couplet file.md` from terminal (or `coup file.md`) - **Dark & Light themes** — Rosé Pine ## Install ``` brew tap malinborn/mdmini brew trust malinborn/mdmini brew install --cask mdmini ``` ## Links - Website: https://couplet.pro/ - Source: https://github.com/malinborn/mdmini - Releases: https://github.com/malinborn/mdmini/releases - License: GPL-3.0