Zettlr：适合写作者和研究人员的 Markdown 编辑器
Markdown 作家 写作者
有很多[适用于 Linux 的 Markdown 编辑器](https://itsfoss.com/best-markdown-editors-linux/)，并且还在继续增加。问题是，像 [Boostnote](https://itsfoss.com/boostnote-linux-review/) 一样，大多数是为编码人员设计的，可能不会受到非技术人员的欢迎。让我们看一个想要替代 Word 和昂贵的文字处理器，适用于非技术人员的 Markdown 编辑器。我们来看看 Zettlr 吧。


### Zettlr Markdown 编辑器


![Zettlr Light Mode](/data/attachment/album/201906/01/123458wbnmt4mqnnoffe30.png)


我可能在网站上提到过一两次，我更喜欢用 [Markdown](https://daringfireball.net/projects/markdown/) 写下我的所有文档。它易于学习，不会让你受困于专有文档格式。我还在我的[适合作者的开源工具列表](https://itsfoss.com/open-source-tools-writers/)中提到了 Markdown 编辑器。


我用过许多 Markdown 编辑器，但是我一直有兴趣尝试新的。最近，我遇到了 Zettlr，一个开源 Markdown 编辑器。


[Zettlr](https://www.zettlr.com/) 是一位名叫 [Hendrik Erz](https://github.com/nathanlesage) 的德国社会学家/政治理论家创建的。Hendrik 创建了 Zettlr，因为他对目前的文字处理器感到不满意。他想要可以让他“专注于写作和阅读”的编辑器。


在发现 Markdown 之后，他在不同的操作系统上尝试了几个 Markdown 编辑器。但它们都没有他想要的东西。[根据 Hendrik 的说法](https://www.zettlr.com/about)，“但我不得不意识到没有为高效组织大量文本而写的编辑器。大多数编辑都是由编码人员编写的，因此可以满足工程师和数学家的需求。没有为我这样的社会科学、历史或政治学的学生的编辑器。“


所以他决定创造自己的。2017 年 11 月，他开始编写 Zettlr。


![Zettlr About](/data/attachment/album/201906/01/123501cxnsnqs6qx5pniqn.png)


#### Zettlr 功能


Zettlr 有许多简洁的功能，包括：


* 从 [Zotero 数据库](https://www.zotero.org/)导入源并在文档中引用它们 \* 使用可选的行屏蔽，让你无打扰地专注于写作 \* 支持代码高亮 \* 使用标签对信息进行排序 \* 能够为该任务设定写作目标 \* 查看一段时间的写作统计 \* 番茄钟计时器 \* 浅色/深色主题 \* 使用 [reveal.js](https://revealjs.com/#/) 创建演示文稿 \* 快速预览文档 \* 可以在一个项目文件夹中搜索 Markdown 文档，并用热图展示文字搜索密度。 \* 将文件导出为 HTML、PDF、ODT、DOC、reStructuredText、LaTex、TXT、Emacs ORG、[TextBundle](http://textbundle.org/) 和 Textpack \* 将自定义 CSS 添加到你的文档


当我写这篇文章时，一个对话框弹出来告诉我最近发布了 [1.3.0 beta](https://github.com/Zettlr/Zettlr/releases/tag/v1.3.0-beta)。此测试版将包括几个新的主题，以及一大堆修复，新功能和改进。


![Zettlr Night Mode](/data/attachment/album/201906/01/123504aht3foujhwuuq9gw.png)


#### 安装 Zettlr


目前，唯一可安装 Zettlr 的 Linux 存储库是 [AUR](https://aur.archlinux.org/packages/zettlr-bin/)。如果你的 Linux 发行版不是基于 Arch 的，你可以从网站上下载 macOS、Windows、Debian 和 Fedora 的[安装程序](https://www.zettlr.com/download)。


#### 对 Zettlr 的最后一点想法


注意：为了测试 Zettlr，我用它来写这篇文章。


Zettlr 有许多我希望我之前选择的编辑器 （ghostwriter） 有的简洁的功能，例如为文档设置字数目标。我也喜欢在不打开文档的情况下预览文档的功能。


![Zettlr Settings](/data/attachment/album/201906/01/123506ikk8aa1e9ig81gez.png)


我也遇到了几个问题，但这些更多的是因为 Zettlr 与 ghostwriter 的工作方式略有不同。例如，当我尝试从网站复制引用或名称时，它会将内嵌样式粘贴到 Zettlr 中。幸运的是，它有一个“不带样式粘贴”的选项。有几次我在打字时有轻微的延迟。但那可能是因为它是一个 Electron 程序。


总的来说，我认为 Zettlr 是第一次使用 Markdown 用户的好选择。它有许多 Markdown 编辑器已有的功能，并为那些只使用过文字处理器的用户增加了一些功能。


正如 Hendrik 在 [Zettlr 网站](https://www.zettlr.com/about)中所说的那样，“让自己摆脱文字处理器的束缚，看看你的写作过程如何通过身边的技术得到改善！”


如果你觉得 Zettlr 有用，请考虑支持 [Hendrik](https://www.zettlr.com/supporters)。正如他在网站上所说，“它是免费的，因为我不相信激烈竞争、早逝的创业文化。我只是想帮忙。”


你有没有用过 Zettlr？你最喜欢的 Markdown 编辑器是什么？请在下面的评论中告诉我们。


如果你觉得这篇文章有趣，请在社交媒体，Hacker News 或 [Reddit](http://reddit.com/r/linuxusersgroup) 上分享它。




---


via: <https://itsfoss.com/zettlr-markdown-editor/>


作者：[John Paul](https://itsfoss.com/author/john/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
There are quite a few [Markdown editors available for Linux](https://itsfoss.com/best-markdown-editors-linux/), with more popping up all of the time. The problem is that like [Boostnote](https://itsfoss.com/boostnote-linux-review/), most are designed for coders and may not be as welcoming to non-techie people. Let’s take a look at a Markdown editor that wants to replace Word and expensive word processors for the non-techies. Let’s take a look at Zettlr.

## Zettlr Markdown Editor

![Zettlr Light Mode](https://itsfoss.com/content/images/wordpress/2019/05/Zettlr-light-mode.png?fit=800%2C462&ssl=1)

I may have mentioned it a time or two on this site, but I prefer to write all of my documents in [Markdown](https://daringfireball.net/projects/markdown/). It is simple to learn and does not leave you tied to a proprietary document format. I have also mentioned Markdown editor among my [list of open source tools for writers](https://itsfoss.com/open-source-tools-writers/).

I have used a number of Markdown editors and am always interested to try out someone’s new take on the idea. Recently, I came across Zettlr, an open source markdown editor.

[Zettlr](https://www.zettlr.com/) is the creation of a German sociologist/political theorist named [Hendrik Erz](https://github.com/nathanlesage). Hendrik created Zettlr because he was frustrated by the current line up of word processors. He wanted something that would allow him to “focus on writing and reading only”.

After discovering Markdown, he tried several Markdown editors on different operating systems. But none of them had what he was looking for. [According to Hendrik](https://www.zettlr.com/about), “But I had to realize that there are simply none written for the needs of organizing a huge amount of text efficiently. Most editors have been written by coders, therefore tailored to the needs of engineers and mathematicians. No luck for a student of social sciences, history or political science like me.”

So he decided to create his own. In November of 2017, he started to work on Zettlr.

![Zettlr About](https://itsfoss.com/content/images/wordpress/2019/05/zettlr-about.png?fit=800%2C528&ssl=1)

### Zettlr Features

Zettlr has a number of neat features, including:

- Import sources from your
[Zotero database](https://www.zotero.org/)and cite them in your document - Focus on your writing with the distraction free mode with optional line muting
- Support for code highlighting
- Use tags to sort information
- Ability to set writing goals for the session
- View writing stats over time
- Pomodoro Timer
- Light/Dark theme
- Create presentation using
[reveal.js](https://revealjs.com/#/) - Quick preview of a document
- Search all Markdown documents in a project folder with heatmap showing the density of word searched
- Export files to HTML, PDF, ODT, DOC, reStructuredText, LaTex, TXT, Emacs ORG,
[TextBundle](http://textbundle.org/), and Textpack - Add custom CSS to your document

As I am writing this article, a dialog box popped up telling me about the recently released [1.3.0 beta](https://github.com/Zettlr/Zettlr/releases/tag/v1.3.0-beta). This beta will include several new themes, as well as, a boatload of fixes, new features and under the hood improvements.

![Zettlr Night Mode](https://itsfoss.com/content/images/wordpress/2019/05/Zettlr-night-mode.png?fit=800%2C469&ssl=1)

### Installing Zettlr

Currently, the only Linux repository that has Zettlr for you to install is the [AUR](https://aur.archlinux.org/packages/zettlr-bin/). If your Linux distro is not Arch-based, you can [download an installer](https://www.zettlr.com/download) from the website for macOS, Windows, Debian, and Fedora.

### Final Thoughts on Zettlr

Note: In order to test Zettlr, I used it to write this article.

Zettlr has a number of neat features that I wish my Markdown editor of choice (ghostwriter) had, such as the ability to set a word count goal for the document. I also like the option to preview a document without having to open it.

![Zettlr Settings](https://itsfoss.com/content/images/wordpress/2019/05/zettlr-settings.png?fit=800%2C353&ssl=1)

I did run into a couple issues, but they had more to do with the fact that Zettlr works a little bit different than ghostwriter. For example, when I tried to copy a quote or name from a web site, it pasted the in-line styling into Zettlr. Fortunately, there is an option to “Paste without Style”. A couple times I ran into a slight delay when I was trying to type. But that could because it is an Electron app.

Overall, I think that Zettlr is a good option for a first time Markdown user. It has features that many Markdown editors already have and adds a few more for those who only ever used word processors

As Hendrik says on the [Zettlr site](https://www.zettlr.com/about), “Free yourselves from the fetters of word processors and see how your writing process can be improved by using technology that’s right at hand!”

If you do find Zettlr useful, please consider supporting [Hendrik](https://www.zettlr.com/supporters). As he says on the site, “And this free of any charge, because I do not believe in the fast-living, early-dying startup culture. I simply want to help.”

Have you ever used Zettlr? What is your favorite Markdown editor? Please let us know in the comments below.

If you found this article interesting, please take a minute to share it on social media, Hacker News or [Reddit](http://reddit.com/r/linuxusersgroup).