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

# 步骤器

向页面添加分步指南——非常适合指南、演练和技术故障排除流程

Stepper 区块可让你将教程或指南分解为相互独立但明显关联的步骤。每个步骤可以包含多个不同的区块，让你添加更详细的信息。

### 示例

{% stepper %}
{% step %}

#### 添加一个 Stepper 区块

要添加 Stepper 区块，请按 `/` 在空白行中，或者点击左侧的 `+` 编辑器左侧的，然后选择 **Stepper** 在插入菜单中选择。
{% endstep %}

{% step %}

#### 添加一些内容

插入 Stepper 区块后，你就可以开始向其中添加内容——包括代码块、绘图、图片等等。
{% endstep %}

{% step %}

#### 添加更多步骤

点击 `+` 位于步骤编号下方的，或者按 `Enter 键` 两次，即可为你的 Stepper 区块添加另一步骤。你也可以根据需要移除或更改步骤标题或步骤正文的样式。
{% endstep %}
{% endstepper %}

## Markdown 中的表示方式

<pre class="language-markdown"><code class="lang-markdown"><strong>## 示例
</strong>




### 步骤 1 标题
步骤 1 文本





### 步骤 2 标题
步骤 2 文本




</code></pre>

### 限制

在 Stepper 区块内可创建的区块类型存在一些限制——例如，不能添加可展开区块或另一个 Stepper 区块。要查看你可以添加的所有区块，请在 Stepper 区块内另起一行并按 `/` 以调出插入面板。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
