github drl990114/MarkFlowy v1.0.0

3 hours ago

After around three years of development and refinement, MarkFlowy has finally reached v1.0.0. Thank you to everyone who has used it, shared feedback, and contributed along the way.

Highlights:

  • Meet Capricorn, the new editor engine. Capricorn powers WYSIWYG and Preview modes, with loading and rendering optimized for large Markdown documents. Both modes share the same renderer for a more consistent editing and reading experience. Source Code mode remains available through the editor toolbar's More → View menu.

  • A quieter space for a single file. Open a Markdown file and start writing without opening a folder first. With one document open and no workspace folder, the tab bar folds away automatically; click the document name to rename it, or move the pointer to the bottom edge to reveal the status bar. Opening another document or splitting the editor brings the tabs back.

  • A workspace when you need one. Work with recent files and folders, draggable tabs, split editors, bookmarks, an outline, Quick Open, and workspace search. Use the title-bar workspace menu to open files or folders, revisit recent work, or open a folder in another window.

  • Richer Markdown editing. Write with tables, task lists, code, math, Mermaid, and block conversion. Select text for the floating formatting toolbar, use the block handle's Convert to menu, or right-click a table data row and choose Duplicate row. Improved selections and mixed-direction text support make editing more flexible; body text direction can be set globally or per document while source and code stay left to right.

  • Your own Mermaid, math, and code snippets. Save frequently used diagrams, formulas, and code in Settings → Snippet Library, with custom entries, editable copies of built-in examples, and previews. In WYSIWYG mode, type / and choose a snippet from the Mermaid, Math, or Code submenu, or reuse one in an existing block through its toolbar's Insert snippet button. Snippets are stored locally and available across workspaces.

  • Commands and focus. Open the command palette with Cmd/Ctrl + Shift + P, search files with Cmd/Ctrl + P, or enter Zen mode with Cmd/Ctrl + Shift + F. Search and customize bindings in Settings.

  • Your appearance, your theme. Use the visual theme editor to create, inspect, preview, and export declarative JSON themes. Light and dark variants, semantic colors, typography, and personal CSS snippets can be managed from Settings.

  • Code editing that fits your habits. Under Settings → Editor, configure indentation, automatic bracket closing, visible whitespace, and code typography. Source Code and embedded code editors have separate options for line wrapping, line numbers, and active-line highlighting; changes apply to open editors.

  • Local history and recovery. Open More → Local history to review and compare previous versions, and configure retention in Settings. Restore saved drafts after a normal exit or reload, including unnamed documents and unsaved edits, and review conflicts when files change outside the app.

  • Refined desktop controls and everyday fixes. More compact title, tab, status, and settings areas; a file-tree action to reveal the active file; clearer encoding and line-ending controls; and improved localization. Fixed editor focus restoration after closing Settings, undo handling in split editors, and file-tree ordering after file operations. Error reporting is now opt-in and disabled by default.


历经三年多的开发与打磨,MarkFlowy 终于迎来了 v1.0.0。感谢每一位使用、反馈和参与贡献的朋友,陪伴这个项目走到今天。

主要更新:

  • 认识全新的 Capricorn 编辑器内核。 Capricorn 驱动所见即所得与预览模式,针对大篇幅 Markdown 优化加载与渲染。两种模式共用同一套渲染,让编辑与阅读的显示效果更一致;源码模式继续保留,可通过编辑器工具栏的更多 → 视图切换。

  • 更安静的单文件写作。 直接打开 Markdown 文件即可开始写作,无需先打开文件夹。未打开工作区文件夹且只有一个文档时,标签栏会自动收起;点击文档名称即可重命名,将鼠标移到窗口底边可显示状态栏。打开另一份文档或拆分编辑器后,标签栏自动恢复。

  • 需要时,再展开工作区。 支持最近文件与文件夹、标签页拖拽、分屏、书签、目录、快速打开及工作区搜索。通过标题栏的工作区菜单打开文件或文件夹、返回最近的工作,也可在新窗口打开文件夹。

  • 更完整的 Markdown 编辑体验。 支持表格、任务列表、代码、公式、Mermaid 和块类型转换。选中文字即可使用浮动格式工具栏,通过块操作按钮的转换为菜单调整内容类型,也可右键表格数据行选择复制当前行。改进选区与混合方向文本支持,正文方向可全局或按文档设置,源码与代码保持从左到右。

  • 为 Mermaid、公式和代码块配置常用片段。 在设置 → 片段库中保存常用图表、公式和代码,支持新建自定义片段、复制内置示例后修改,以及预览效果。所见即所得模式下,输入 / 后从 Mermaid、Math 或 Code 的子菜单选择片段,也可通过已有块工具栏的插入片段按钮复用。片段保存在本地,可跨工作区使用。

  • 命令与专注写作。 按 Cmd/Ctrl + Shift + P 打开命令面板,按 Cmd/Ctrl + P 快速打开文件,按 Cmd/Ctrl + Shift + F 开关 Zen 模式,并在设置中搜索和自定义快捷键。

  • 自己的外观与主题。 通过可视化主题编辑器创建、检查、预览和导出声明式 JSON 主题;在设置中管理浅色与深色变体、语义颜色、字体排版和个人 CSS 片段。

  • 更贴合习惯的代码编辑。 在设置 → 编辑器中调整缩进、括号自动补全、空白字符显示和代码排版。源码编辑器与内嵌代码编辑器可分别设置自动换行、行号和当前行高亮,修改后即时应用到已打开的编辑器。

  • 本地历史与恢复。 通过更多 → 本地历史查看并比较早期版本,在设置中配置保留策略。正常退出或刷新后可恢复已保存的草稿,包括未命名文档与未保存修改;外部文件修改与编辑内容冲突时,会提示确认。

  • 更紧凑的桌面交互与日常修复。 改进标题栏、标签栏、状态栏和设置布局,新增文件树定位当前文件入口,完善编码、换行符控制与多语言文案。修复关闭设置后的编辑器焦点恢复、分屏编辑时的撤销归属,以及文件操作后的文件树排序问题。错误报告改为主动选择开启,默认关闭。


FAQ | 常见问题

FAQ:

Windows users

  • We provide an Offline Installer with built-in ​​WebView2 Runtime​​ for devices that cannot automatically install WebView2 online or are in a no-network environment. Please note that this installer is relatively large in size and is recommended to be used only when necessary.
  • The Portable ZIP can be extracted and run without installation. It uses the system WebView2 Runtime and keeps MarkFlowy's existing user-level data location.

macOS users

  • ​​macOS x86_64 version​​: When you launch the app for the first time, you may see a prompt saying "Cannot open the application" because the app is from an unidentified developer. Please go to "System Preferences" > "Security & Privacy", and click "Open Anyway" in the "General" tab.
  • ​​macOS aarch64 (Apple Silicon) users​​: If you see a prompt saying "The application is damaged" when you launch it for the first time, it is usually due to system security restrictions. Please open the terminal and run the following command to fix the permission issue, and then you can open the app normally:
    xattr -cr /Applications/MarkFlowy.app

常见问题:

Windows 用户

  • 我们提供了内置 ​​WebView2 运行时​​的离线安装包(Offline Installer),适用于无法自动在线安装 WebView2 或处于无网络环境的设备。请注意,此安装包体积较大,建议仅在必要时使用.
  • Portable ZIP 解压后即可运行,无需安装;它使用系统 WebView2 Runtime,并继续使用 MarkFlowy 现有的用户级数据目录。

macOS 用户

  • ​​macOS x86_64 版本​​:首次启动应用时,系统可能会提示“无法打开应用程序”,这是因为应用来自未识别的开发者。请前往“系统偏好设置” > “安全性与隐私”,在“通用”标签页中点击“仍要打开”即可.
  • ​​macOS aarch64 (Apple Silicon) 用户​​:首次启动若提示“应用程序已损坏”,通常是由于系统的安全限制。请打开终端,执行以下命令来修复权限问题,之后即可正常打开应用
    xattr -cr /Applications/MarkFlowy.app

Don't miss a new MarkFlowy release

NewReleases is sending notifications on new releases.