Markdown依赖于简单的文本语法来格式化文档。与MicrosoftWord这样的环境不同,Markdown使用复杂且人类无法读取的系统来识别斜体等内容,Markdown使用易于识别的标记代码来指示重点和文档结构。
降价的主要好处是它是纯文本格式,这意味着您可以使用任何程序来编写文档,从macOS上的Windows记事本和TextEdit等简单文本编辑器到Linux上的许多选项。像安卓和iOS这样的移动操作系统也有大量处理纯文本的免费应用程序。
您不必担心格式不兼容,因为您应用于写作的格式是纯文本。
降价有几个优点,包括:
Markdown是对术语markup的一种演绎,专门指HTML。标记语言使用文本代码来指示内容的划分、视觉装饰和嵌入对象(如图像)。例如,一个带有标题的简单网页、一个包含文本句子的区域和一个图像,手工书写会变得很麻烦:
这个简单的页面需要一段代码来向用户呈现一个句子,而不是以一种吸引人的方式。但它是HTML标记,比如
, , and that reduce your productivity. These tags encompass the majority of the text, and if you type one of the tags wrong, the page won't display correctly.So rather than applying markup to text, you should instead apply the opposite: Markdown. Markdown uses something similar to markup tags but in a compact and writer-friendly way. As an example, the above represented in Markdown would look like this:
One of the principles of Markdown is to be human-readable in source form. And looking at the above, it's clear what's what. The hash mark at the beginning designates a heading, and the asterisks mean emphasis (specifically bold). This convention is something many people do in text messaging, so it's easy to interpret. Even the image, which requires something a little more technical, is easier to understand than the HTML.
When writing for the web, you can get away with understanding a few main bits of Markdown:
With this tiny bit of Markdown syntax, you have all you need to write an article like this one.
The Markdown project provides a command-line tool to work with Markdown documents. However, this is a command-line utility, so it's not the most convenient. Also, it's written in the somewhat outdated Perl language.
Two other types of apps prove a bit more capable when dealing with Markdown input.
Markdown captures your writing wherever you are, regardless of the device you're on. It's best for when you need to focus on your writing, not on the appearance of the final document.
The plain text format is small with respect to file size, portable, and gets you out of the habit of fiddling with fonts until it's time to publish it somewhere. By learning its easy syntax, you'll be equipped to write in content management systems for the web, convert school assignments into attractive PDFs, and everything in between.
...量的全字处理器。 让我们看看什么是Markdown,它为什么有用,以及如何开始使用它。 什么是降价(markdown)? Markdown是一种用于创建格式化文本的标记语言,通常用于在internet上发布。如果您不熟悉,标记...
...上唯一的游戏。有许多其他所谓的轻量级标记语言类似于Markdown,但具有不同的特性集。其中之一就是Asciidoc。如果你喜欢Markdown,但正在寻找更多的引擎盖下,这是值得考虑的。以下是一些原因。 ...
... Markdown-All-In-One——这个插件为您提供键盘快捷键,并支持Markdown中的目录和列表。您还可以打开第二个窗格,在键入文本时预览文本。要安装的命令是:ext install markdown all...
... 安装后,可以开始使用命令行程序转换文件。擅长处理Markdown和其他轻量级标记语言,如果您有一个.MD文件,可以使用以下命令将其转换为HTML: ...
... Markdown is a simple way to format plain text that can be easily converted to HTML. ...
2004年,dandarifireball的johngruber创建了Markdown,一种用于在web上发布内容的轻量级标记语言。它使用易于理解的纯文本格式语法,通过使用简单的Perl脚本创建整洁的HTML或XHTML。 ...
Markdown是一种轻量级标记语言,它使格式化和呈现web内容变得容易。它使用纯文本和简单的语法来保持一切简单明了——我们有一个方便的降价备忘单,你可以打印出来作为参考。 ...
Markdown是一种易于学习的标记语言,用于格式化纯文本文档。即使你以前没有这方面的经验,减价是如此简单,它可以在10分钟内学会。 ...