MarkText 是一款流行的免费开源文档编辑器,专为使用 Markdown 编写而设计。与 Typora 一样,MarkText 具有精美的界面和实时编辑器,可在您键入后隐藏 Markdown 格式。PDF 和 HTML 导出选项非常方便,允许您将文本作为 Markdown、HTML 或纯文本从编辑器中复制出来的功能也很方便。
有一些小烦恼。在几个实例中(在下面的表中注明),应用程序中的文本外观与导出的 HTML 和 PDF 的渲染输出不匹配。与 Notion 一样,在实时编辑器转换 Markdown 格式的文本后,可能很难编辑它。
MarkText 为以下 Markdown 元素提供支持。
Element | Support | Notes |
---|---|---|
Headings | Yes | |
Paragraphs | Yes | |
Line Breaks | Yes | There’s a discrepancy between the MarkText editor and the rendered output when you press the Return key once — that does not create a line break in the exported HTML and PDF. You must use trailing whitespace or a trailing backslash ().
\ |
Bold | Yes | |
Italic | Yes | |
Blockquotes | Yes | |
Ordered Lists | Yes | |
Unordered Lists | Yes | |
Code | Yes | |
Horizontal Rules | Yes | |
Links | Yes | For some reason, angle brackets for URLs and email addresses are rendered literally in the MarkText editor. It’s a minor issue since the links are rendered correctly in the exported HTML and PDF. |
Images | Yes | |
Tables | Yes | |
Fenced Code Blocks | Yes | |
Syntax Highlighting | Yes | |
Footnotes | Yes | |
Heading IDs | No | |
Definition Lists | No | |
Strikethrough | Yes | You can use two tildes () or one tilde () — both work in the exported HTML and PDF even though the MarkText editor only renders strikethrough with two tildes.
~~word~~ ~word~ |
Task Lists | Yes | |
Emoji (copy and paste) | Yes | |
Emoji (shortcodes) | Yes | |
Highlight | Yes | |
Subscript | Yes | |
Superscript | Yes | |
Automatic URL Linking | Yes | |
Disabling Automatic URL Linking | Yes | |
HTML | Yes |
在 60 页中学习 Markdown。《Markdown 指南》专为新手和专家设计,是一本全面的参考书,包含您入门和掌握 Markdown 语法所需的一切。
获取书籍