Skip to content

About

Native macOS Markdown editor with live preview, source-aware scroll sync, and bilingual Chinese/English UI.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Mac Markdown Pad

macOS Swift License Release

Mac Markdown Pad Poster

Native macOS Markdown editor with a syntax-highlighted source pane on the left and a live rendered preview on the right.

原生 macOS Markdown 编辑器,左侧是支持语法高亮的源码编辑区,右侧是实时渲染预览。

Download / 下载

  • English: Download the latest DMG from GitHub Releases and drag MacMarkdownPad.app into /Applications.
  • 中文:从 GitHub Releases 下载最新 DMG,把 MacMarkdownPad.app 拖到 /Applications 即可安装。

Why Install / 为什么值得安装

  • English: Native macOS experience, not an Electron shell.

  • 中文:原生 macOS 体验,不是套壳应用。

  • English: Edit Markdown source and preview the rendered result side by side.

  • 中文:源码编辑与渲染预览左右分栏,写作和校对更顺手。

  • English: Source-aware scroll sync keeps the preview aligned with the part of the Markdown you are editing.

  • 中文:基于 Markdown 源码结构做联动滚动,不是简单按高度硬同步。

  • English: Choose between a clean standard preview and a more expressive themed preview.

  • 中文:支持标准渲染和主题渲染两种预览风格切换。

  • English: Bilingual UI, drag-and-drop open, Open With, line numbers, syntax highlighting, save, and save as.

  • 中文:支持中英双语界面、拖放打开、Open With、行号、语法高亮、保存与另存为。

Screenshots / 运行截图

Themed Preview / 主题预览

Themed Preview

Standard Preview / 标准预览

Standard Preview

Drag & Drop Open / 拖放打开

Drag and Drop

Features / 功能清单

  • English: Native AppKit-based editor with live Markdown preview.

  • 中文:基于原生 AppKit 的 Markdown 编辑与实时预览。

  • English: Syntax highlighting for headings, lists, blockquotes, emphasis, links, inline code, and fenced code blocks.

  • 中文:支持标题、列表、引用、强调、链接、行内代码、代码块等语法高亮。

  • English: Line numbers, current-line highlight, undo/redo, find bar, and file statistics.

  • 中文:支持行号、当前行高亮、撤销重做、查找栏和文件统计。

  • English: Drag-and-drop file open plus system-level Open With integration.

  • 中文:支持拖放打开文件,也支持系统级 Open With 打开。

  • English: Source-aware preview anchors for more meaningful scroll synchronization.

  • 中文:预览区按源码行号建立锚点,实现更准确的结构化同步滚动。

  • English: Preview appearance switcher with Standard and Themed modes.

  • 中文:预览样式可在标准渲染和主题渲染之间切换。

Privacy / 隐私

  • English: Mac Markdown Pad is local-first. It does not require accounts, does not bundle analytics, and does not upload your documents.

  • 中文:Mac Markdown Pad 采用本地优先设计,不需要账号,不内置统计,不上传文档。

  • English: See PRIVACY.md for the full privacy note and release-time privacy checklist.

  • 中文:完整隐私说明和发布前检查清单见 PRIVACY.md。

Open Source / 开源信息

  • English: License: MIT

  • 中文:开源协议:MIT

  • English: Current open-source release: v1.0.0

  • 中文:当前开源版本:v1.0.0

Local Development / 本地开发

Requirements / 环境要求

  • macOS 14+
  • Swift 6.2+

Build / 构建

swift build

Run / 运行

swift run MacMarkdownPad

Smoke Checks / 自动检查

swift run MacMarkdownPadChecks

Privacy Check / 隐私检查

./Scripts/privacy-check.sh

Build App Icon / 生成应用图标

./Scripts/build-icon.sh

Build App / 生成 App

./Scripts/build-app.sh
open Dist/MacMarkdownPad.app

Build DMG / 生成 DMG

./Scripts/build-dmg.sh
open Dist

Dependency Proxy / 依赖代理

If your network needs a local proxy while fetching Swift Package dependencies:

如果拉取 Swift Package 依赖时需要本机代理,可使用:

HTTP_PROXY=http://127.0.0.1:8080 \
HTTPS_PROXY=http://127.0.0.1:8080 \
ALL_PROXY=http://127.0.0.1:8080 \
swift build

Release Files / 发布文件

  • English: App bundle: Dist/MacMarkdownPad.app

  • 中文:应用包:Dist/MacMarkdownPad.app

  • English: DMG installer: Dist/MacMarkdownPad-v1.0.0.dmg

  • 中文:DMG 安装包:Dist/MacMarkdownPad-v1.0.0.dmg

About

Native macOS Markdown editor with live preview, source-aware scroll sync, and bilingual Chinese/English UI.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages