Brief introduction
Markdown is a lightweight markup language.
Block element paragraphs and line breaks
You cannot indent with spaces or tabs.
There should be more than one (including one) empty line before and after.
Enter more than two (including two) spaces at the end of the line and then enter to indicate a newline.
Title
# 标题h1
## 标题h2
### 标题h3
#### 标题h4
##### 标题h5
###### 标题h6
#
A space is recommended on the right.
Chunk reference
Add to the front of each line >
.
It is also allowed to precede the first line of the entire paragraph >
.
Chunk references can be nested (for example, references within references), as long as they are based on a different number of levels >
.
> 引用引用> 引用引用>> 引用引用>>> 引用
Reference reference
Reference reference
Reference reference
Reference
>
It's better to have a space on the right.
List
Unordered lists use asterisks, plus signs, or minus signs as list markers.
The sequence table uses numbers followed by a period, and it is important that the numbers used on the list markers do not affect the output's HTML results.
* 这是无序列表* 这是无序列表* 这是无序列表
- This is an unordered list
- This is an unordered list
- This is an unordered list
*
There must be a space on the right.
1. 这是有序列表2. 这是有序列表3. 这是有序列表
- This is an ordered list
- This is an ordered list
- This is an ordered list
n.
There must be a space on the right.
code block
Simply indent 4 spaces, or 1 tabs.
Divider Line
Create a separator line with three or more (with three) asterisks, minus signs, and a bottom line.
***
Section element link
To create a inline link, just follow the square brackets followed by parentheses and insert the URL link.
[百度](http://www.baidu.com)一下
Baidu a bit
Emphasize
Use the asterisk (*) and the Bottom line (_) as symbols for the markup accent words.
*转换成<em>***转换成<strong>**
converted into <em>
Converted Into<strong>
Code
If you want to mark a small piece of inline code, you can wrap it up (') in an inverted quotation mark.
`echo 1`
echo 1
Image
Add a picture in the form of a link similar to the one you just added on the basis of the link !
.
![Alt text](/path/to/img.jpg)
Other automatic links
Produce:
<a href="http://example.com/">http://example.com/</a>
Back slashEquivalent to an escape effect. Make the symbol a normal symbol.
The following symbols can be preceded by a backslash to convert to a normal symbol:
\ 反斜线` 反引号* 星号_ 底线{} 花括号[] 方括号() 括弧# 井字号+ 加号- 减号. 英文句点! 惊叹号
Markdown Tutorial: From getting started to getting started