1. Title
# Denotes the title
# a header
## subheadings
### three title
#### title four
results are as follows:
A title
Subheadings
Three title
Four title
2. Font Style
** bold text **
* * italic text
~ ~ ~ ~ strikeout
`` text gray background
effect is as follows:
text bold
text italic
Strikethrough
文字灰色背景
3. code block
`` `` `` Code portion
may be inserted into some of the code blocks
results are as follows:
public static void main(String[] args) {
// 这边是代码部分
doSomething();
}
4. List list
* Spaces (or '+' / '-' spaces) represent hierarchies
results are as follows:
- * Spaces represent hierarchies
- + Spaces represent hierarchies
- - spaces represent hierarchies
- Plus a tab in front of the second hierarchy represents
- Plus a tab represents the third level
- Plus a tab in front of the second hierarchy represents
5. References section
> Add text section is a reference section
This is a reference section
6. dividing line
Dividing line: *** or ___ --- or
effect is as follows:
dividing line ***:
Dividing line---:
Dividing line___:
7. Insert Picture
Insert Picture:
! [Image] ( http://note.youdao.com/favicon.ico )
Results are as follows:
8. Insert Table
Insert table:
| header. 1 | header 2 |
| - | - |
| Row COL. 1. 1 | COL. 1 Row 2 |
| Row 2 COL. 1 | Row 2 COL 2 |
results are as follows:
header 1 | header 2 |
---|---|
row 1 col 1 | row 1 col 2 |
row 2 col 1 | row 2 col 2 |
NOTE: To modify the width of the table can be controlled using the following code:
table .header th:nth-child(3) {
width: 300px;
}
Attached: MarkDown Chinese document: https://markdown-zh.readthedocs.io/en/latest/