我爱Markdown
Posted veli
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了我爱Markdown 相关的知识,希望对你有一定的参考价值。
作为一个程序员,用Word, Excel等写技术文档实在是不那么方便。而我,作为一个Unix/Linux程序员,写技术文档还是喜欢用Wiki等在线写作工具。虽然Wiki已经很酷了,但跟Markdown比起来,则稍逊风骚。Markdown 是一种「电子邮件」风格的「标记语言」,简约而不简单。它的优点有:
- 纯文本,所以兼容性极强,可以用所有文本编辑器打开。
- 让你专注于文字而不是排版。
- 格式转换方便,Markdown的文本可以轻松地转换为html、电子书等。
- Markdown的标记语法有极好的可读性。
维基百科对Markdown的介绍是这样子滴,
Markdown is a lightweight markup language with plain text formatting syntax. It is designed so that it can be converted to HTML and many other formats using a tool by the same name.
在深入了解Markdown的语法之前,还是写个简单的文档直接体验一下吧。
- foo.md // md is MarkDown for short
# gotta, wanna and gonna By Vector Li <idorax@126.com> On Nov 22, 2017 --- * **`gotta`** : `got to / have got to == have to` **`不得不`** * **`wanna`** : `want to / want a` **`想要`** * **`gonna`** : `going to` **`将要`** --- ## I. gotta `不得不` 1. `got to`: ``` e.g. I\'ve gotta go. == I\'ve got to go. 我得走了。 ``` 2. `have got to (== have to)`: `不得不` ``` e.g. I gotta go. == I have got to go. 我得走了。 Gotta go. Check you later. == Have got to go. Check you later. 我得走了。回头给你电话。 ``` ## II. wanna `想要` 1. `want to`: `想要` ``` e.g. I wanna get out of here. == I want to get out of here. 我想出去一下。 ``` 2. `want a`: `想要` ``` e.g. Wanna beer? == Want a beer? 想要啤酒吗? ``` ## III. gonna `将要` 1. `going to`: `将要` ``` e.g. Are we gonna go soon? == Are we going to go soon? 我们一会儿就走吗? They\'re gonna get married in July. == They\'re going to get married in July. 他们打算7月份结婚。 I felt like something bad was gonna happen. == I felt like something bad was going to happen. 我感觉到有不好的事情发生。 ``` --- **`END`**
用dillinger在线呈现出来就是:
- 截图1
- 截图2
- 截图3
- 截图4
从上面的截图中,是不是觉得Markdown酷毕了,帅呆了?! 如想快速了解Markdown的语法,请阅读:
以上是关于我爱Markdown 的主要内容,如果未能解决你的问题,请参考以下文章