## # 有序列表

Markdown语法 HTML 预览效果
 1. First item 2. Second item 3. Third item 4. Fourth item   First item Second item Third item Fourth item  - First item - Second item - Third item - Fourth item
 1. First item 1. Second item 1. Third item 1. Fourth item   First item Second item Third item Fourth item  - First item - Second item - Third item - Fourth item
 1. First item 8. Second item 3. Third item 5. Fourth item   First item Second item Third item Fourth item  - First item - Second item - Third item - Fourth item
 1. First item 2. Second item 3. Third item 1. Indented item 2. Indented item 4. Fourth item   First item Second item Third item Indented item Indented item Fourth item  - First item - Second item - Third item - Indented item - Indented item - Fourth item

#### # 有序列表最佳实践

CommonMark and a few other lightweight markup languages let you use a parenthesis ()) as a delimiter (e.g., 1) First item), but not all Markdown applications support this, so it isn’t a great option from a compatibility perspective. For compatibility, use periods only.

✅ Do this ❌ Don't do this
 1. First item 2. Second item   1) First item 2) Second item 

## # 无序列表

Markdown语法 HTML 预览效果
 - First item - Second item - Third item - Fourth item   First item Second item Third item Fourth item  - First item - Second item - Third item - Fourth item
 * First item * Second item * Third item * Fourth item   First item Second item Third item Fourth item  - First item - Second item - Third item - Fourth item
 + First item + Second item + Third item + Fourth item   First item Second item Third item Fourth item  - First item - Second item - Third item - Fourth item
 - First item - Second item - Third item - Indented item - Indented item - Fourth item   First item Second item Third item Indented item Indented item Fourth item  - First item - Second item - Third item - Indented item - Indented item - Fourth item

#### # 无序列表最佳实践

Markdown applications don’t agree on how to handle different delimiters in the same list. For compatibility, don't mix and match delimiters in the same list — pick one and stick with it.

✅ Do this ❌ Don't do this
 - First item - Second item - Third item - Fourth item   + First item * Second item - Third item + Fourth item 

### # 在列表中嵌套其他元素

#### # 段落

*   This is the first list item.*   Here's the second list item.    I need to add another paragraph below the second list item.*   And here's the third list item.

• This is the first list item.

• Here's the second list item.

I need to add another paragraph below the second list item.

• And here's the third list item.

#### # 引用块

*   This is the first list item.*   Here's the second list item.    > A blockquote would look great below the second list item.*   And here's the third list item.

• This is the first list item.

• Here's the second list item.

A blockquote would look great below the second list item.

• And here's the third list item.

#### # 代码块

1.  Open the file.2.  Find the following code block on line 21:        <html>          <head>            <title>Test</title>          </head>3.  Update the title to match the name of your website.

• Open the file.

• Find the following code block on line 21:

<html>  <head>    <title>Test</title>  </head>
• Update the title to match the name of your website.

#### # 图片

1.  Open the file containing the Linux mascot.2.  Marvel at its beauty.    ![Tux, the Linux mascot](/assets/images/tux.png)3.  Close the file.

• Open the file containing the Linux mascot.

• Marvel at its beauty.

• Close the file.

#### # 列表

You can nest an unordered list in an ordered list, or vice versa.

• First item
• Second item
• Third item
• Indented item
• Indented item
• Fourth item