# 标签页

选项卡块是一个单独的块，可选择添加多个选项卡。

每个选项卡都可以包含其他多个块，且类型不限。因此，你可以在同一个选项卡块中的各个选项卡里添加代码块、图片、集成块等更多内容。

### 添加或删除选项卡

要向选项卡块中添加新选项卡，请将鼠标悬停在选项卡边缘上，然后点击出现的 `+` 按钮。要删除选项卡，请打开该选项卡的 **选项菜单** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/e1df373962dc4830bcb786d7e5cb3cce603367d3" alt="The Options menu icon in GitBook"></picture> 然后选择 **删除**.

### 示例

以下是一个列出特定平台相关说明的示例：

{% tabs %}
{% tab title="Windows" %}
以下是 Windows 的说明
{% endtab %}

{% tab title="macOS" %}
以下是 macOS 的说明
{% endtab %}

{% tab title="Linux" %}
以下是 Linux 的说明
{% endtab %}
{% endtabs %}

### Markdown 中的表示

```markdown
{% tabs %}

{% tab title="Windows" %} 以下是 Windows 的说明 {% endtab %}

{% tab title="OSX" %} 以下是 macOS 的说明 {% endtab %}

{% tab title="Linux" %} 以下是 Linux 的说明 {% endtab %}

{% endtabs %}
```


---

# Agent Instructions: 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:

```
GET https://gitbook.com/docs/documentation/zh/creating-content/blocks/tabs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
