原生 macOS · Markdown 编辑器 Native macOS · Markdown editor

思考者打造的
写作环境。
A writing tool
for thinkers.

灵感源自 Ulysses,基于 SwiftUI 与 SwiftData 构建。精心调校的中英排版、自研 MarkX 高亮引擎,与全端侧 Apple Intelligence,让你专注于文字本身。 Inspired by Ulysses, built with SwiftUI & SwiftData. Hand-tuned typography, a custom MarkX highlighter, and on-device Apple Intelligence — so nothing comes between you and the page.

macOS 14.0+macOS 14.0+ Universal BinaryUniversal Binary 开源 · MPL 2.0Open source · MPL 2.0
为何留下来 Why writers stay

每一处细节,都为长篇写作而设。 Every detail tuned for long-form writing.

没有炫技的过场动画,没有飘在屏上的工具栏。MDWriter 把所有功夫,都花在你看得见的那一行字上。 No showy transitions. No tools floating in front of your sentences. The craft sits inside the line of text you're writing.

01

排版至上Typography first

行高、字距、段间距、首行缩进——中英 / CJK 混排都被仔细调过,长时间阅读不疲劳。 Line-height, tracking, paragraph rhythm and first-line indents — all hand-tuned, with mixed CJK + Latin sentences treated as first-class citizens.

CJK-aware Hand-kerned
02

MarkX 引擎MarkX engine

自研基于正则的语法高亮引擎。原生 NSTextView,没有 WebView 的内存与延迟。 A homemade regex-based highlighter running on native NSTextView. No WebView weight, no latency.

Regex No WebView 60fps
03

三栏式资料库Three-column library

文件夹 / 文档 / 编辑器,基于 SwiftData + SQLite。搜索极快,拖拽自如,结构清晰。 Folders, documents, editor. Powered by SwiftData on SQLite — fast search, intuitive drag & drop, no hidden state.

SwiftData SQLite Drag & Drop
04

打字机模式Typewriter mode

当前行始终保持在屏幕中央,像极了一张永远停在你笔下的纸。配合隐藏标题栏,进入深度专注。 The current line stays vertically centred — like a page that never scrolls away. Pair it with a hidden title bar for true focus.

Focus Distraction-free
05

版本与备份Versions & backup

手动保存快照,可视化浏览历次稿。整库导出为 .mdwbk,迁移、回滚都只要一次点击。 Save manual snapshots, browse them visually, restore in one click. Export the entire library to a single .mdwbk file for migration.

Snapshots .mdwbk
06

多格式导出Export, your way

A4 优化的 PDF、富文本 RTF、原始 Markdown。无论你的下游编辑器是谁,文件都还是你的。 A4-tuned PDF, rich-text RTF, raw Markdown. Whatever lives downstream of your draft, the file is still yours to keep.

PDF RTF .md
Apple Intelligence · 端侧 Apple Intelligence · On-device

让 AI 进入手稿,
但不离开你的电脑。
An AI in the margins —
that never leaves your Mac.

基于 Apple Foundation Models,所有写作工具都在本地推理。润色、摘要、翻译、校对、自动起标题——一切发生在你的设备上,没有一行字会被上传。 Built on Apple Foundation Models. Polish, summarise, translate, proofread, auto-title — every inference runs on your Mac. Not a single sentence is uploaded.

  • 写作工具:润色、摘要、翻译、校对,一键完成。Writing tools — polish, summarise, translate and proofread in one tap.
  • 智能元数据:根据正文自动生成标题与标签。Smart metadata — generate titles and tags from the actual content.
  • 隐私优先:模型在本地运行,文字永不离开设备。Privacy by default — the model runs locally; your text never leaves the device.
需 macOS 26 · Apple Silicon · 系统设置中开启 Apple IntelligenceRequires macOS 26 · Apple Silicon · Apple Intelligence enabled in System Settings
主题 Themes

为每一种光线调好的颜色。 A palette for every kind of light.

8 款专业主题,覆盖晨光、午后、深夜与咖啡馆。一键切换,编辑器、预览、代码高亮一致呼吸。 Eight thoughtfully built themes — for morning, afternoon, late nights and back rooms of cafés. Editor, preview and code highlighting all breathe together.

Pure
## 标题
引用 · code
Paper
## 手稿
italic · code
Solarized
## Heading
accent · code
GitHub
## Heading
accent · code
Dracula
## Heading
accent · code
Nord
## Heading
accent · code
Monokai
## Heading
accent · code
Night Owl
## Heading
accent · code
开始写作 Get started

三种路径,把它装到你的 Mac 上。 Three paths to your Mac.

免费、开源、Universal Binary。无论是直接下载、Homebrew,还是从源码编译,都只是一句命令的事。 Free, open source, Universal Binary. Whether you download, brew or build — it's one short step away.

i.

直接下载Direct download

从 GitHub Releases 下载最新版 Universal Binary,同时支持 Apple Silicon 与 Intel。 Grab the latest Universal Binary from GitHub Releases — supports both Apple Silicon and Intel.

MDWriter.dmg · 最新版MDWriter.dmg · latest
前往 ReleasesOpen Releases
ii.

Homebrew

通过 Homebrew tap 安装,方便后续与系统其他 cask 一起更新。 Install via our Homebrew tap — easy to keep in sync with your other casks.

$brew tap SteveShi/tap $brew install --cask mdwriter
查看 tap 仓库View tap repo
iii.

源码编译Build from source

需 macOS 14.0+ 与 Xcode 15.0+;项目通过 XcodeGen 维护。 Requires macOS 14.0+ and Xcode 15.0+. The project is managed with XcodeGen.

$git clone github.com/SteveShi/MDWriter $xcodegen generate --spec project.yml
查看完整步骤Read full guide