# 区块

GitBook 是一个基于块的编辑器，这意味着你可以向内容中添加各种不同类型的块——从标准文本和图片到交互式块。你的页面可以包含你想要的任意组合块，而且每页可包含的块数量没有限制。

<figure><img src="/files/260f04a7bea5f53a2efed5baf4b856d56f05492d" alt="A GitBook screenshot showing the available content blocks"><figcaption><p>GitBook 内置的内容块。</p></figcaption></figure>

### 插入新的内容块

你可以使用鼠标在现有块下方插入一个新的内容块：

1. 将鼠标悬停在你需要新内容块所在位置上方的块上。
2. 点击 `+` 左侧出现的图标，用于打开插入面板。
3. 从下拉菜单中选择你想要的块，将其插入。

或者，在新行中，你可以按 `/` 来打开插入面板，其中列出了所有可用的块。你可以滚动列表找到想要的块，或者使用键盘搜索所需的块，在列表中上下导航，并用 `Enter`.

### 退出块

某些内容块会捕获编辑光标，以便你能在该块的上下文中添加内容。例如，当你在 [提示块](/docs/documentation/zh/creating-content/blocks/hint.md)中写作时，按 `Enter` 会在提示块内添加新行，而不是在下方添加新段落。

完成后，你可以通过使用 `+` 按钮在内容左侧插入新块，或者按 **⌘ + Enter** （Mac 上）或 **Ctrl + Enter** （PC 上）。

### 选择块并与所选块交互

你可以通过在块内将光标放置后按 `Esc` 键来选择单个块。你也可以通过高亮其中的内容并按 `Esc`.

一旦选中，你可以：

* 在按住 **Shift ⇧** 键的同时点击块，以选择更多块。
* 使用 **↑** 并 **↓** 键上下移动，选择上方或下方的块
* 使用 **⌘ + C** （Mac）或 **Ctrl + C** （Windows）复制整个块
* 使用 **⌘ + X** （Mac）或 **Ctrl + X** （Windows）复制整个块
* 使用 **⌫** 或 **Del**.


---

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