Today to tell you a nice editor Markdown, he is a plain text markup language. A simple markup syntax, it can make the plain text content has a certain format.
Future boss so that you can use it to write documents, here are some written in the format:
A title
In fact, the title and the HTML h series like, in front of the text you want to set as the title of a # to represent
a # is a title, two # is the second title, and so on. Support six titles.
Note: The standard syntax is generally followed by a space # write text,
Example:
# 这是一级标题
## 这是二级标题
### 这是三级标题
#### 这是四级标题
##### 这是五级标题
###### 这是六级标题
Results are as follows:
This is a title
This is the second title
This three-stage title
This is a four title
This is a five title
This is the six Title
Second, font
-
Bold
To the left and right, respectively, with two bold text wrap asterisk
-
Italic
Text to be tilted left and right, respectively, by an asterisk or a wrap _
-
Bold italic
To the left and right tilt and bold text are wrapped with three No. *
-
Strikethrough
About to add strikethrough text are wrapped up with two numbers ~
Example:
**这是加粗的文字**
*这是倾斜的文字*`
***这是斜体加粗的文字***
~~这是加删除线的文字~~
Results are as follows:
This is bold text
which is skewed character
that is bold italic text
This is a plus text strikethrough
Third, the reference
Before the quoted text plus> can be. References can also be nested, such as adding two three >> >>>
n-th ...
Example:
>这是引用的内容
>>这是引用的内容
>>>这是引用的内容
Results are as follows:
- This is the contents of references
This is the contents of references
which is the contents of references
which is the contents of references
Fourth, the dividing line
More than three or three - or * can be.
Example:
---
***
Results are as follows:
You can see, the display effect is the same.
Fifth, Pictures
grammar:
![图片alt](图片地址 ''图片title'')
图片alt就是显示在图片下面的文字,相当于对图片内容的解释。
图片title是图片的标题,当鼠标移到图片上时显示的内容。title可加可不加
** upload local images directly dragged into
Sixth, hyperlinks
grammar:
[超链接名](超链接地址 "超链接title") title可加可不加
Example:
[百度](http://baidu.com)
Results are as follows:
Seven list
-
Unordered list
Syntax:
unordered list with - any of which can be + *
- 列表内容
+ 列表内容
* 列表内容
注意:- + * 跟内容之间都要有一个空格
Results are as follows:
-
List content
-
List content
-
List content
-
Ordered list
Syntax:
Digital plus points
1.列表内容
2.列表内容
3.列表内容
注意:序号跟内容之间要有空格
Results are as follows:
1. List the contents
2. List the contents
3. list of contents
-
Nested list
To knock three spaces between the previous and the next level
-
An unordered list content
- Two unordered list content
- Two unordered list content
- Two unordered list content
-
An unordered list content
- Two ordered list of contents
- Two ordered list of contents
- Two ordered list of contents
-
An ordered list of contents
- Two unordered list content
- Two unordered list content
- Two unordered list content
-
An ordered list of contents
- Two ordered list of contents
- Two ordered list of contents
- Two ordered list of contents
Eight tables
grammar:
表头|表头|表头
---|:--:|---: 内容|内容|内容 内容|内容|内容 第二行分割表头和内容。 - 有一个就行,为了对齐,多加了几个 文字默认居左 -两边加:表示文字居中 -右边加:表示文字居右 注:原生的语法两边都要用 | 包起来。此处省略
Example:
| 表头 | 表头 | 表头 |
| --- | --- | --- | |第一行|第一行|第一行| |第二行|第二行|第二行| |第三行|第三行|第三行|
Results are as follows:
Header | Header | Header |
---|---|---|
first row | first row | first row |
second line | second line | second line |
The third row | The third row | The third row |
Nine, Code
Syntax:
single line of code: a code for respectively between the anti-wrap quotes
`代码内容`
Block: three codes are used between the anti-wrap quotes, and both sides of a separate line Backticks
```
代码内容
```
These are commonly used format, very simple, I try to write about; get started soon.