Lekha app icon

Lekha

A clean, distraction-free WYSIWYG Markdown editor for macOS

Download for macOS
View on GitHub
The Lekha editor showing a formatted Markdown note, with a file sidebar, document tabs, and rendered headings, lists, and checkboxes
Lekha sidebar with an open folder, an expanded subfolder, and three document tabs

Sidebar, folders & tabs

Open a folder and Lekha becomes a workspace. Browse the file tree, keep several documents in tabs, and search across every note. Your files stay exactly where they are - plain .md on disk.

Lekha rendering KaTeX equations with equation numbers and a Mermaid flowchart inline in the document

Math & diagrams

KaTeX formulas and Mermaid diagrams render live, inline with your prose - no export step, no separate preview. Equations can be auto-numbered, and diagrams follow the active theme.

A Lekha window with a teal top rail
A Lekha window with an amber top rail

Window colors

Working on more than one project at once? Give each window its own color rail and tell them apart at a glance. The color is remembered per folder, so a project always opens with its mark.

Themes & appearance

Nine built-in themes - light, warm, and dark - plus your own. Adjust the editor font size, focus mode, and typewriter mode to make the writing surface yours.

Lekha in the GitHub light theme
Lekha in the Sepia theme
Lekha in the Solarized Light theme
Lekha in the Nord theme
Lekha in the Solarized Dark theme
Lekha in the Night theme
Lekha in the Graphite theme
Lekha in the Midnight theme
Lekha in the High Contrast theme

And more

Install

With Homebrew:

brew tap mocarram/tap
brew install --cask lekha

Or download the .dmg from the latest release (Apple silicon & Intel).

First launch (unsigned build)

The current builds are ad-hoc signed (not yet notarized), so on first launch macOS shows “Lekha” Not Opened and blocks it. To open it, go to System Settings → Privacy & Security, scroll to the Security section, and click Open Anyway, then Open in the confirmation dialog. You only need to do this once.

Or clear the quarantine flag in Terminal:

xattr -dr com.apple.quarantine "/Applications/Lekha.app"
macOS Gatekeeper alert reading “Lekha” Not Opened, with Move to Trash and Done buttons
What you’ll see on first launch.
System Settings, Privacy & Security, showing Lekha was blocked with an Open Anyway button
Then click Open Anyway in Privacy & Security.

Requires macOS 11 Big Sur or later (Apple silicon & Intel).