> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/chuang-jian-nei-rong/blocks/ordered-list.md).

# 有序列表

向页面添加有序列表或编号列表

有序列表，也称为编号列表，可帮助你对项目进行优先排序或创建步骤列表。

### 有序列表示例

1. 项目 1
   1. 嵌套项目 1.1
      1. 嵌套项目 1.1.1
   2. 嵌套项目 1.2
2. 项目 2
3. 项目 3

{% hint style="info" %}
若要创建嵌套项目，可以使用 **Tab** 键增加缩进，使用 **⇧ + Tab** 键减少缩进。
{% endhint %}

### Markdown 表示

```markdown
1. 项目 1
   1. 嵌套项目 1.1
      1. 嵌套项目 1.1.1
   2. 嵌套项目 1.2
2. 项目 2
3. 项目 3
```

### 向有序列表添加内联图片

在 GitBook 中，可以在有序列表内添加图片。

如果要在有序列表中插入图片，请通过插入菜单添加图片，然后在图片下方的行中输入 `3.` 然后按下 `Space`，有序列表就会继续。

1. 项目 1
2. 项目 2

<div align="left"><figure><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-63794ab4fe2cb354edb88f8b4d308c3eabbf675e%2F25_12_10_example_image.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>

3. 项目 3
4. 项目 4


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/zh/chuang-jian-nei-rong/blocks/ordered-list.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
