> 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/ja-gitbook-documentation/kontentsuwosuru/blocks.md).

# ブロック

GitBookはブロックベースのエディタです。つまり、標準的なテキストや画像からインタラクティブなブロックまで、さまざまな種類のブロックをコンテンツに追加できます。ページには好きな組み合わせのブロックを含めることができ、1ページに配置できるブロック数に制限はありません。

<figure><img src="/files/a3410dabed20adfbd086761b7cf5c9a252542329" alt="A GitBook screenshot showing the available content blocks"><figcaption><p>GitBookに標準搭載されているコンテンツブロック。</p></figcaption></figure>

### 新しいコンテンツブロックを挿入する

マウスを使って、既存のブロックの下に新しいコンテンツブロックを挿入できます：

1. 新しいコンテンツブロックを入れたい場所の上にあるブロックにカーソルを合わせます。
2. をクリックします `+` 左側に表示されるアイコンをクリックして、挿入パレットを開きます。
3. 挿入したいブロックをドロップダウンメニューから選択します。

または、新しい行で `/` を押して、利用可能なすべてのブロックが一覧表示される挿入パレットを開けます。リストをスクロールして目的のブロックを探すか、キーボードを使って探したいブロックを検索し、リストを上下に移動して、を使って挿入できます `Enter`.

### ブロックを終了する

一部のコンテンツブロックは編集カーソルを取り込み、そのブロックの文脈の中でコンテンツを追加できるようにします。たとえば、次の中で入力しているとき [ヒントブロック](/docs/documentation/ja-gitbook-documentation/kontentsuwosuru/blocks/hint.md)、次を押すと `Enter` 下に新しい段落を追加するのではなく、ヒントブロック内に新しい行が追加されます。

完了したら、次の方法でページに新しいコンテンツを追加し続けることができます。 `+` コンテンツの左側にあるボタンで新しいブロックを挿入するか、次を押します **⌘ + Enter** Mac では **Ctrl + Enter** PC では

### ブロックの選択と、選択したブロックとの操作

ブロック内にカーソルがある状態で、 `Esc` キーを押すと、1つのブロックを選択できます。また、ブロック内のコンテンツをハイライトして次を押すことで、複数のブロックを選択することもできます `Esc`.

選択すると、次のことができます：

* 次を押しながらクリックすると、さらにブロックを選択できます **Shift ⇧** キーを押したままにします。
* 次のキーを使って上下に移動し、上または下のブロックを選択する **↑** 、 **↓** キー
* 次を使ってブロック全体をコピーする **⌘ + C** （Mac）または **Ctrl + C** （Windows）
* 次を使ってブロック全体を切り取る **⌘ + X** （Mac）または **Ctrl + X** （Windows）
* 次を使って、選択したブロックを削除する **⌫** または **Del**.


---

# 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/ja-gitbook-documentation/kontentsuwosuru/blocks.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.
