3 个纯文本记事工具
笔记 纯文本

> 
> 记笔记很重要，而纯文本是一种简单、中性的方式。这里有三个工具，你可以在不失去纯文本的简易和便携性的前提下，给你的笔记加点东西。
> 
> 
> 


![](/data/attachment/album/202101/27/153329o0waw16448hq0avf.jpg "Typewriter with hands")


在前几年，这个年度系列涵盖了单个的应用。今年，我们除了关注 2021 年的策略外，还将关注一体化解决方案。欢迎来到 2021 年 21 天生产力的第五天。


纯文本是最具弹性的文档格式。纯文本文档体积小，可以在机器之间快速传输，并且可以在*任意*设备上阅读。因此，在纯文本文档中做笔记是很有意义的。


然而，纯文本也仅是纯文本。我们生活在一个富文本世界中，我们仍然需要标题、列表以及区分一个章节和另一个章节的方法。幸运的是，我们有几种方法可以添加这些元素，而不需要在纯文本文档中添加复杂的标记。


### Markdown


![Markdown](/data/attachment/album/202101/27/153438hgjh6ez9nxjy2xzh.png "Markdown")


*Markdown （Kevin Sonney, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)）*


由 Aaron Schwartz 和 John Gruber 创建的 [Markdown](https://opensource.com/article/19/9/introduction-markdown)，是我如今每天使用最多的格式。从读写 README 文件、文档、记笔记，甚至源代码注释，Markdown 让我可以在不牺牲轻松阅读文档的能力的情况下添加格式。


此外，Markdown 还有几个“扩展版本”，以允许那些不属于原始设计的项目。特别是，[GitHub 风格的 Markdown](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown) 由于其在同名的源码控制网站中的使用而异常流行。


许多文件编辑器都支持 Markdown 高亮显示，不需要额外的附加组件或工作。


### AsciiDoc


![AsciiDoc](/data/attachment/album/202101/27/153439iegwo9g3z9e82tok.png "AsciiDoc")


*AsciiDoc （Kevin Sonney, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)）*


由 Stuart Rackham 创建的 [AsciiDoc](https://asciidoc.org/) 是向纯文本文档添加富文本元素的另一种方式。AsciiDoc 有许多生成文档、书籍和论文的功能。然而，这并不意味着它不能被用来做笔记。有很多环境（特别是在教育和研究领域），能够快速将笔记转换为更“正式”的格式是很有帮助的。


AsciiDoc 也有很多工具可以将文本转换为其他格式进行协作。还有一些附加组件可以从不同的源导入数据，并将其放入最终的文档中，或者处理特殊的格式，如 MathML 或 LaTeX。


### Org 模式


![ORG-Mode](/data/attachment/album/202101/27/153440nta19mm2r49tkq9m.png "ORG-Mode")


*ORG-Mode （Kevin Sonney, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)）*


说到文本格式，我不能不提 [Org 模式](https://orgmode.org/)。它最初是为 [GNU Emacs](https://www.gnu.org/software/emacs/) 设计的，现在已经成为笔记、待办事项、文档等常用的纯文本格式之一。Org 模式可以在包括 [Vim](https://opensource.com/article/19/1/productivity-tool-org-mode) 在内的众多文本编辑器中编写和使用。Org 模式简单、易学，是我最喜欢的笔记文本格式之一。


最后，选择 Markdown、AsciiDoc 或 Org 模式作为纯文本笔记，是确保它们可以在任何地方被阅读和更新的一种方式。如果你和我一样，你会发现自己在做纸质笔记的时候，也会使用同样的语法！




---


via: <https://opensource.com/article/21/1/plain-text>


作者：[Kevin Sonney](https://opensource.com/users/ksonney) 选题：[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
In prior years, this annual series covered individual apps. This year, we are looking at all-in-one solutions in addition to strategies to help in 2021. Welcome to day 5 of 21 Days of Productivity in 2021.

Plain text is the most resilient format for documents. Plain text documents are small, transfer quickly between machines, and can be read on *any* device. Therefore, it makes a lot of sense to take notes in a plain text document.

However, plain text is also that - plain. We live in a rich text world and still need titles, lists, and ways to demark one section from the other. Fortunately, there are several ways we can add these elements without having to add complex markup to plain text documents.

## Markdown

![Markdown Markdown](https://opensource.com/sites/default/files/styles/medium/public/pictures/markdown.png?itok=BFGG8DST)

Markdown (Kevin Sonney, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/))

[Markdown](https://opensource.com/article/19/9/introduction-markdown), created by Aaron Schwartz and John Gruber, is the format I use the most day today. From reading and writing README files, documentation, note-taking, and even source code comments, Markdown allows me to add formatting without sacrificing the ability to read the document easily.

Additionally, Markdown has several "extended versions" to allow for items that were not part of the original design. In particular, [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown) is exceptionally popular due to its use in the eponymous source control site.

Many file editors support Markdown highlighting out of the box with no extra add-ons or effort required.

## AsciiDoc

![AsciiDoc AsciiDoc](https://opensource.com/sites/default/files/styles/medium/public/pictures/asciidoc.png?itok=pGTXW0S4)

AsciiDoc (Kevin Sonney, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/))

[AsciiDoc](https://asciidoc.org/), created by Stuart Rackham, is another way to add rich text elements to plain text documents. AsciiDoc has many features for generating documentation, books, and papers. That does not mean it shouldn't be used for note-taking, however. There are many environments (particularly in the education and research fields) where being able to quickly convert notes to a more "formal" format is helpful.

AsciiDoc also has many tools for converting text to other formats for collaboration. There are also several add-ons for importing data from different sources and putting it in a final document, or for handling special formatting like MathML or LaTeX.

## Org Mode

![ORG-Mode ORG-Mode](https://opensource.com/sites/default/files/styles/medium/public/pictures/org-mode.png?itok=zr-vJXMw)

ORG-Mode (Kevin Sonney, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/))


I cannot leave out [Org](https://orgmode.org/) when I talk about text formatting. Originally designed for use with [GNU Emacs](https://www.gnu.org/software/emacs/), Org Mode has become one of the go-to plain text formats for notes, to-do lists, documentation, and more. Org can be written and used in a whole host of text editors, including [Vim](https://opensource.com/article/19/1/productivity-tool-org-mode). Org is simple, easy to learn, and one of my favorite text formats for notes.

At the end of the day, choosing Markdown, AsciiDoc, or Org for plain text notes is a way to make sure they can be read and updated anywhere. And if you are like me, you'll find yourself using the same syntax when taking paper-based notes as well!

## Comments are closed.