列表
目錄
示例
使用破折號 (-
) 或星號 (*
) 作為專案符號。
- 專案符號列表項 1
- 專案符號列表項 2
- 專案符號列表項 3
編號列表項 1。句點和第一個字母之間有兩個空格有助於對齊。
編號列表項 2。讓我們在裡面加一個註釋。
注意編號列表項 3,其中包含一個程式碼塊。在程式碼塊之前需要一個空行。
$ docker run hello-world
編號列表項 4,其中包含一個專案符號列表,而該專案符號列表又包含一個編號列表。
子項 1
子項 2
- 子子項 1
- 子子項 2,其中包含一個表格,因為我們喜歡狂歡!縮排非常重要。
標題 1 標題 2 事項 1 事項 2 事項 3 事項 4
Markdown
- Bullet list item 1
- Bullet list item 2
- Bullet list item 3
1. Numbered list item 1. Two spaces between the period and the first letter
helps with alignment.
2. Numbered list item 2. Let's put a note in it.
> [!NOTE]: We did it!
3. Numbered list item 3 with a code block in it. You need the blank line before
the code block happens.
```bash
$ docker run hello-world
```
4. Numbered list item 4 with a bullet list inside it and a numbered list
inside that.
- Sub-item 1
- Sub-item 2
1. Sub-sub-item 1
2. Sub-sub-item-2 with a table inside it.
Indentation is super important.
| Header 1 | Header 2 |
| -------- | -------- |
| Thing 1 | Thing 2 |
| Thing 3 | Thing 4 |