1. 有序列表:数字 + 英文句号 + 空格 + 标题
##### 此处是有序列表
1. Part A
2. Part B
3. Part C
此处是有序列表
- Part A
- Part B
- Part C
2. 无序列表:*/+/- + 空格 + 标题
##### 此处是无序列表
* Part A
* Part B
+ Part C
- Part D
此处是无序列表
- Part A
- Part B
- Part C
- Part D
单独使用星号、加号或减号标记无序列表时效果是相同的,混合使用这三个符号时行间距增大,表明列表重新开始编号。
3. 多级列表:每深入一级,句首多加个Tab键
##### 这里是多级列表
1. Part A
1. Section One
1. Example 1
2. Example 2
2. Section Two
3. Section Three
2. Part B
* Section One
* Section Two
+ Section Three
- Section Four
3. Part C
这里是多级列表
- Part A
-
Section One
- Example 1
- Example 2
-
Section Two
-
Section Three
-
- Part B
- Section One
- Section Two
- Section Three
- Section Four
- Part C
CSDN上面的无序列表和有序列表嵌套时无序列表也变成了有序列表。注意Part B使用*/+/-混合标记后,每次切换符号时列表会重新编号,所以为了减少出错,无序列表最好也用相同的符号标记。