> 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/creating-content/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/creating-content/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/creating-content/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.
