# ブロック

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