Markdown is the format of choice for structured writing. Documentation, notes, technical texts, blog articles -- once you start working with Markdown, there's no going back. But on the Mac, there's a shortage of editors that truly take the format seriously. Many are wrapped in Electron and feel like a browser tab with a text field. Others are fast but lack live preview. And hardly any of them handle mathematical formulas or diagrams.
Inkra is a native Markdown editor for macOS that fills exactly this gap: real Mac performance, live preview with formulas and diagrams, and a built-in AI assistant that helps with writing.
Why another Markdown editor?
Most Markdown editors on the Mac have one thing in common: they're built on Electron. That means they essentially run as a web application inside a Chromium browser. The result is high memory consumption, noticeable lag with large documents, and behavior that never quite feels like a real Mac app. No native text cursor, no system-wide dictionary, no seamless integration with macOS services.
Then there are the minimalist editors. They're fast and lightweight, but often lack the essentials: a live preview that can do more than display bold text. Anyone who regularly works with mathematical formulas -- whether in academia, university, or technical documentation -- quickly hits the limits. And diagrams? Those have to be created in a separate tool and embedded as images.
Inkra takes a different approach. Not Electron, not a bare-bones editor, but a full-featured macOS application built with SwiftUI and AppKit. Native text processing via NSTextView with TextKit 2. AST-based syntax highlighting that understands the text structure rather than just coloring it with regular expressions. And a live preview that renders formulas, diagrams, and code exactly as they'll appear in the finished document.
Native, not Electron
The difference between a native Mac app and an Electron app shows up in everyday use. Inkra launches in under a second. Large Markdown files scroll smoothly because text processing runs directly on the GPU, not in a JavaScript engine. The text cursor behaves like in TextEdit or Xcode. System features like macOS spell checking, dictation, and the character palette work without workarounds.
TextKit 2, Apple's current text rendering engine, provides the foundation. Syntax highlighting is AST-based: the parser analyzes the Markdown structure as a tree and precisely colors headings, links, code blocks, and emphasis. This is more accurate than regex-based highlighting and scales reliably even with long documents.
For the live preview, Inkra uses WKWebView -- the same engine that powers Safari. This means HTML, CSS, and embedded libraries like KaTeX or Mermaid render exactly as they would in a browser.
Live preview with everything included
The live preview in Inkra updates as you type. Changes in the editor appear in real time in the preview. This is the core of the workflow: write on the left, see the result on the right.
Three embedded libraries make the preview particularly powerful:
- KaTeX for mathematical formulas: LaTeX syntax directly in Markdown. Inline formulas with
$...$, block formulas with$$...$$. Rendering is fast enough to keep up with the live preview -- even with complex equations. - Mermaid for diagrams: Flowcharts, sequence diagrams, Gantt charts, and more -- described in text, rendered as graphics. No need to export from a diagramming tool; everything stays in the Markdown document.
- Syntax highlighting for code: Code blocks are colored with language detection. Whether Swift, Python, JavaScript, or SQL -- the preview displays code the way you'd expect from an IDE.
This is particularly relevant for anyone writing technical documentation, taking lecture notes, or creating blog articles with code examples. Everything in one file, everything in one app.
AI assistant built into the editor
Inkra comes with an AI assistant that works directly in the editor. No switching to a browser, no copying and pasting into a chat window. The assistant knows the context of the current document and offers targeted writing actions:
- Proofread: Check grammar, spelling, and style -- with suggestions that can be applied directly.
- Shorten: Reduce a paragraph to its essentials without losing the content.
- Expand: Turn a bullet point into a complete paragraph.
- Translate: Convert text to another language without breaking the Markdown formatting.
If you already have an API key from Claude, OpenAI, or Ollama, you can enter it directly in Inkra. For everyone else, there's Inkra AI -- an optional subscription that makes the AI assistant available without your own API keys. Just activate it and you're ready to go. If you run Ollama locally, you can use the assistant entirely offline.
File management and workflow
Markdown editors that can only open individual files hit their limits with larger projects. Inkra provides a sidebar with a file tree that displays entire folder structures. There's also a document outline that shows the current document's headings as a navigable table of contents -- useful for long texts.
Additional features that streamline the daily workflow:
- File history: View and restore previous versions of a document.
- Session restore: On the next launch, Inkra automatically reopens the files and tabs from your last session.
- Export: Export Markdown documents as HTML or PDF -- with the styling from the live preview.
- Localization: The interface is available in over 20 languages.
Automation with MCP
For advanced users, Inkra includes a built-in MCP server (Model Context Protocol). MCP is an open standard that allows AI assistants like Claude to communicate with local applications.
In practice, this means: Claude Desktop or Claude Code can remotely control Inkra -- open documents, insert text, trigger actions. This is particularly interesting for automated workflows where AI-assisted text creation or revision is needed.
The MCP integration runs locally via 127.0.0.1. No data leaves your machine through the connection itself.
FAQ
Is Inkra free?
Inkra can be downloaded and used for free. The editor, live preview, and export are available without restrictions. For the AI assistant without your own API keys, there is an optional Inkra AI subscription.
What does the Inkra AI subscription cost?
The Inkra AI subscription enables the AI assistant without requiring you to set up your own API keys. If you already have access to Claude, OpenAI, or a local Ollama server, you don't need the subscription.
Which formats are supported?
Inkra works with Markdown files (.md). The live preview supports KaTeX formulas, Mermaid diagrams, and syntax highlighting. Export is available as HTML and PDF.
Does Inkra work offline?
Yes. The editor, live preview, file tree, and export work entirely offline. Only the AI assistant requires an internet connection -- unless you use Ollama as a local AI provider.