> 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/task-list.md).

# 任务列表

添加任务列表以显示可完成的任务

任务列表可让你创建一个带有复选框的项目列表，你可以勾选或取消勾选。

{% hint style="info" %}
**注意：** 你发布的网站的读者无法勾选或取消勾选这些框。你可以在创建内容时决定哪些框被勾选、哪些未勾选。
{% endhint %}

### 任务列表示例

* [ ] 这是一个尚未完成的任务
  * [ ] 这是一个已完成的子任务，使用以下方式缩进 `Tab`.
  * [ ] 这是一个尚未完成的子任务。
* [ ] 最后，一个项目，使用以下方式取消缩进 `Shift` + `选项卡`.

### Markdown 表示法

```markdown
- [ ] 这是一个尚未完成的任务
  - [x] 这是一个已完成的子任务，使用 `tab` 缩进
  - [ ] 这是一个尚未完成的子任务。
- [ ] 最后，一个项目，使用 `shift` + `tab` 取消缩进。
```


---

# 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/task-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.
