Typora 是一个简单且可配置的文档编辑器,可提供出色的 Markdown 支持。此应用程序非常适合需要撰写论文和报告的学生和专业人士。将 Typora 用于多文件项目或网站发布可能很困难。
Typora 通过提供各种设置而脱颖而出,而不会牺牲准系统界面的简单性。Markdown 的新手可能会喜欢用于格式化选项的键盘快捷键,以及在您键入后隐藏 Markdown 格式化语法的直观实时编辑器。
有关官方文档,请参阅 Typora Markdown 参考。Typora 文档表明,该应用程序通常使用 GitHub Flavored Markdown (GFM)。
Typora 为以下 Markdown 元素提供支持。
Element | Support | Notes |
---|---|---|
Headings | Yes | |
Paragraphs | Yes | By default, you only need to press the Return key once (not twice). See the Typora documentation for more information. |
Line Breaks | Yes | By default, you need to press Command-Shift-Return. See the Typora documentation for more information. |
Bold | Yes | |
Italic | Yes | |
Blockquotes | Yes | |
Ordered Lists | Yes | |
Unordered Lists | Yes | |
Code | Yes | |
Horizontal Rules | Yes | |
Links | Yes | See the Typora documentation for instructions on linking to files on your computer. |
Images | Yes | To insert images from your computer, use the options under Format > Images. |
Tables | Yes | |
Fenced Code Blocks | Yes | |
Syntax Highlighting | Yes | See the list of supported languages. |
Footnotes | Yes | |
Heading IDs | Partial | Automatically generated. For example, if you have a heading called , you can link to it with . There’s apparently no way to set custom heading IDs. It’s unclear what happens when there are two identical headings.
Heading IDs [link](#heading-ids) |
Definition Lists | No | |
Strikethrough | Yes | |
Task Lists | Yes | |
Emoji (copy and paste) | Yes | |
Emoji (shortcodes) | Yes | |
Highlight | Yes | To use this feature, open the Preferences and enable the setting under Markdown > Syntax Support. |
Subscript | Yes | To use this feature, open the Preferences and enable the setting under Markdown > Syntax Support. |
Superscript | Yes | To use this feature, open the Preferences and enable the setting under Markdown > Syntax Support. |
Automatic URL Linking | Yes | |
Disabling Automatic URL Linking | Yes | |
HTML | Partial | See the Typora documentation for information about which HTML elements are supported. |
Typora 在您导出文档时提供了多种主题。如果您了解 CSS,则可以自定义这些主题。打开 Preferences (首选项) 窗口,然后查看 Appearance (外观>主题) 下的设置。
Typora 为想要对标题、有序列表和无序列表实施语法限制的用户提供严格的模式设置。例如,您可以将无序列表配置为仅使用连字符而不使用星号。在 Markdown 下的 Preferences (首选项) 窗口> Syntax Preference (语法首选项) 下配置这些设置。有关更多信息,请参阅 Typora 文档。
您可以通过选择 View > Source Code Mode 来禁用 Typora 的实时编辑器。这将显示实时编辑器隐藏的所有 Markdown 格式。
Typora 在 File > Export 下提供了多种导出选项,供您在准备发布 Markdown 文档时使用。某些导出选项(如 Microsoft Word 和 LaTeX 格式)需要 Pandoc。
在 60 页中学习 Markdown。《Markdown 指南》专为新手和专家设计,是一本全面的参考书,包含您入门和掌握 Markdown 语法所需的一切。
获取书籍