要创建无序列表,请在订单项前添加破折号(-
),星号(*
)或加号(+
)。缩进一个或多个项目以创建嵌套列表。
Markdown |
HTML |
渲染输出 |
- First item
- Second item
- Third item
- Fourth item |
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul> |
|
* First item
* Second item
* Third item
* Fourth item |
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul> |
|
+ First item
* Second item
- Third item
+ Fourth item |
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul> |
|
- First item
- Second item
- Third item
- Indented item
- Indented item
- Fourth item |
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item
<ul>
<li>Indented item</li>
<li>Indented item</li>
</ul>
</li>
<li>Fourth item</li>
</ul> |
|