# Zettlr

本地 Markdown 写作工作台，支持项目管理、搜索、引文、分屏视图和出版导出流程。

> 这是 OpenNavo 上 Zettlr 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/zettlr>

- **最新版本**: `4.10.0`
- **开发者**: Hendrik Erz
- **主页**: <https://www.zettlr.com/>
- **分类**: [写作与笔记](https://opennavo.com/zh/categories/writing)
- **安装**: `brew install --cask zettlr`
- **近 30 天安装**: 875
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://github.com/Zettlr/Zettlr/releases/download/v4.10.0/Zettlr-4.10.0-arm64.dmg>
- **SHA-256**: `e20016dfa854be12f9559f10900e0a2f1e12aa0d9dac60a1ef3ab42e56d04abc`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.zettlr.app"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "Zettlr.app"
      ],
      "target": "/Applications/Zettlr.app"
    },
    "phase": "install",
    "sources": [
      "Zettlr.app"
    ],
    "target": "/Applications/Zettlr.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.zettlr.app.sfl*",
            "~/Library/Application Support/zettlr",
            "~/Library/Logs/Zettlr",
            "~/Library/Preferences/com.zettlr.app.plist",
            "~/Library/Saved Application State/com.zettlr.app.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

Zettlr 是一款基于 Markdown 的写作工作台，适用于笔记、研究和长篇出版物。它将本地文件工作区与编辑、搜索、参考文献和导出流程相结合，帮助写作者从初步构思逐步形成文稿。

### 功能
- 在有序的本地工作区中编辑 Markdown 文档。
- 跨写作项目搜索，并浏览文档结构。
- 使用受支持的引文样式和参考文献数据。
- 在撰写时使用分栏视图和格式工具。
- 通过受支持的出版格式和已配置的工具导出。
- 自定义快捷键、外观和写作偏好。

### 设置与兼容性
当前 Mac 发行版要求 macOS 13 或更高版本；此下载为适用于 Apple Silicon 的 arm64 构建版本。请选择与处理器架构兼容的发行版。添加工作区文件夹，并定期备份写作内容。导出和引文流程可能需要额外工具或已配置的参考文献文件，请查阅官方文档，了解所需输出格式的要求。

Zettlr 是免费的开源软件，采用 GNU GPL version 3 许可证，由捐赠支持。[官方许可证](https://github.com/Zettlr/Zettlr/blob/develop/LICENSE)。发布者表示，该软件不强制进行云同步或遥测，文件保留在您的计算机上。可选的外部服务、链接和工具适用各自的隐私与许可条款。请仅授予您打算使用的文件夹的文件访问权限，并在发布前检查导出的文档，尤其是引文和复杂格式。

来源：[官方网站](https://www.zettlr.com/)、[官方发行版](https://github.com/Zettlr/Zettlr/releases)。

## 系统要求

- macOS 13 起 · 应用版本: 4.10.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 核查于 2026-11-25
  - <https://github.com/Zettlr/Zettlr/releases/download/v4.10.0/Zettlr-4.10.0-x64.dmg>
  - SHA-256: `df84b4ed3a732c94759be83f0b19fbd757584d753503512d06dd8503ef64b165`
- macOS 13 起 · 应用版本: 4.10.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 核查于 2026-11-25
  - <https://github.com/Zettlr/Zettlr/releases/download/v4.10.0/Zettlr-4.10.0-arm64.dmg>
  - SHA-256: `e20016dfa854be12f9559f10900e0a2f1e12aa0d9dac60a1ef3ab42e56d04abc`

## Zettlr 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/Zettlr/Zettlr> · 是否开源: 是 — <https://github.com/Zettlr/Zettlr> · 核查于 2026-11-14

## 卸载

- `brew uninstall --cask zettlr`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask zettlr`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.zettlr.app.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-25；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Support/zettlr` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-25；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Logs/Zettlr` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-25；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/com.zettlr.app.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-25；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Saved Application State/com.zettlr.app.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-25；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 4.10.0 (2026-11-13)

**Quality of Life Improvements | Cleanup | Fixes**

This new update of Zettlr primarily fixes things that were either broken for some time, or broke in 4.9. However, it also includes a set of features and other improvements that will come in handy.

Among the most notable changes in this update are: (1) attachments specified in BibTeX or BibLaTeX libraries are properly opened via the context menu in Zettlr; (2) Mermaid diagrams will render again; (3) keywords and tags in YAML frontmatters are clickable again; (4) we fixed a bunch of shortcuts that stopped working after the custom shortcut update; (5) the LanguageTool linter now additionally checks various text-fields in your frontmatters; and (6) we have begun homogenizing Zettlr's UI across all platforms. macOS-users should not see many differences, but on Windows and Linux, the app will look considerably different. This change does not affect the placement or functionality of any UI elements, only their styling.

There's much more that has changed, so we again invite you to read the Changelog below before updating. Happy writing!

> **Do you enjoy Zettlr? Then consider making a donation to help us pay for the development costs. You can donate [monthly on Patreon](https://www.patreon.com/zettlr) or [once via PayPal](https://www.paypal.me/hendrikerz). Additionally, you can directly [sponsor Hendrik Erz on GitHub](https://github.com/sponsors/nathanlesage) or [send a tip on Ko-Fi](https://ko-fi.com/hendrikerz). Thanks for your support!**

### Changelog

#### GUI and Functionality

- **Feature**: The context menus for links and images now also feature various
  items that may be useful for formatting aspects of the link/image descriptions
  (#6417).
- **Feature**: Make the "find next" and "find previous" commands of the editor
  search configurable. Previously, both `Mod-g` and `F3` would move to the next
  search result, but after implementing custom shortcuts, these two commands
  were left unconfigurable and hard-coded to `Mod-g`. These are now configurable
  so that you can change the default keybinding of `Mod-g` to `F3` if you wish
  (#6575).
- **Feature**: The LanguageTool linter now also lints text-only properties in
  the frontmatter, using the same language as the rest of the document. This
  allows spotting issues with these metadata fields as well. Currently, the
  linter includes in its detection the following properties:
    - `title`
    - `subtitle`
    - `abstract`
    - `abstract-title`
    - `description`
    - `shorttitle`
    - `shortsubtitle`
    - `thanks`
- **Change**: The styles and layouts of various UI components have been
  adjusted. The following components should now look mostly the same across all
  operating systems:
    - Toolbar
    - File Tree
    - Sidebar
- **Change**: Removed the `.md` extension from the default new filename pattern
  in the Advanced Preferences menu. This pattern is used as the filename, so the
  extension is unnecessary. Previously, creating a new file with the default
  pattern would result in the `.md` extension being added twice to markdown
  files, or added incorrectly to non-markdown files. Existing users should
  update the pattern manually by removing `.md` from it. For new installations,
  the pattern will be correct. (#6638).
- **Change**: The layout of the document information popover is now improved.
  We have moved the bold styling over to the actually important parts, improved
  legibility of the popover, and included more information -- notably,
  regardless of which unit (words or characters) you select in the preferences,
  the popover will now display both numbers, with your preferred one clearly
  visible.
- Fixed a misaligned size distribution between the file manager, editor view,
  and sidebar. Now, when double-clicking the dividers between these three
  components, they will resize so that both sidebars take up 20% of the window
  width, as opposed to a distribution of 20% for the file manager and ca. 15%
  for the sidebar. This way, both sidebars of the main window are visually
  equally sized.
- Fixed a bug where Zettlr would *never* load attachments from your main
  database if that database was in `BibTeX` or `BibLaTeX` format, as a small
  logical error made the relevant code for retrieving attachments never find the
  database in memory and thus would always fall back to attempting to contact
  Zotero, which would, logically, fail for JabRef users (#6619).
- Library loading on boot is now asynchronous, also we register a
  long-running task during database loads to visualize especially the loading of
  large library files.
- Fixed a bug that prevented Mermaid diagrams from rendering due to an
  underlying bug in the new API (#6625).
- Fixed an issue that would cause full-text searches to start even as the input
  field was still composing non-latin text (#6597; #6604).
- Fixed the spacing on the changelog entries to make it more pleasant to read.
- Fixed an issue that could, under the right circumstances, write unusual values
  for resized split views into the configuration, necessitating a configuration
  modification to render Zettlr usable again (#5829).
- Fixes various issues pertaining to keywords/tags which are present in YAML
  frontmatters of files. Zettlr now again correctly detects these and they are
  clickable, yielding a search for keywords, which also includes keywords with
  spaces (#2443; #2590; #4498; see PR #6496).
- Fixed a 404-link to an old documentation page in the onboarding dialog.
- Fixed the LanguageTool language overrides. Previously, if you wanted to change
  the language in which LanguageTool would check your document via the `lang`
  property (e.g., `lang: fr` to force French instead of autodetection), you had
  to reload the entire document. Now changes are detected on the fly as you
  modify the `lang` property in the YAML frontmatter.
- Fixed the styles of both subscripts (e.g., `H~2~O`) and superscripts (e.g.,
  `2^10^`). Previously, both types of elements were not displayed using a
  small font and set to super or sub alignment.
- The formatting characters for subscripts and superscripts are now
  appropriately hidden if "Render emphasis" is turned on.
- Fixed many of the newly customizable shortcuts which would mostly work on just
  macOS, since we accidentally declared the Mac-specific Command-key to be part
  of the shortcut, instead of also providing an alternative with the Control
  key. We remain puzzled why nobody complained about this issue since it
  affected quite a few important shortcuts. (If you are reading this right now,
  you're not included in this statement ;).

#### Under the Hood

- Update Electron to `v44.10`.
- Update Pandoc to `v3.14`. **Caution**: Pandoc 3.13 has switched its underlying
  YAML parser. For the most part, this change should not affect you, but it
  could if you relied on odd behavior of YAML, such as treating `no` as `false`
  instead of a string. If you receive errors during exports, this is a potential
  cause.
- Update the `gettext-parser` to `v10`.
- Added error-handling code in case titlebar overlays cannot be set for windows
  (see #6417).
- Exchanged `biblatex-csl-converter` with `bibliojson`.
- Refactor the splash screen to silence an error caused by a benign race
  condition during the boot sequence.
- Pin the AppImage toolset in Electron builder to use a more modern one which
  depends on fuse3 instead of the deprecated fuse2 library. This change must be
  reverted once Electron builder is updated to v27 (#6632).
- Refactored the `render-code` plugin to allow for a generic set of persistent
  decorators for various elements.

**Full Changelog**: https://github.com/Zettlr/Zettlr/compare/v4.9.0...v4.10.0

## 资料与来源

- <https://opennavo.com/zh/apps/zettlr>
- <https://opennavo.com/zh/apps/zettlr/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/z/zettlr.rb> · 核查于 2026-11-25
- <https://formulae.brew.sh/cask/zettlr>
- <https://github.com/Zettlr/Zettlr> · 核查于 2026-11-14
