> 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/formatting.md).

# コンテンツの書式設定

テキストを書式設定するには、設定したい語を選択し、コンテキストメニューから書式を1つ選ぶだけです。あるいは、キーボードショートカットや Markdown 構文を使ってテキストを書式設定することもできます。

{% hint style="info" %}
これらのショートカットは Mac のキーを使って記載しています。使うには **Control** の代わりに **⌘（Command）** Windows または Linux オペレーティングシステムでは。すべての OS のすべてのショートカットを確認するには、キーボードショートカットのセクションをご覧ください。
{% endhint %}

#### 太字

キーボードショートカット： <kbd>⌘</kbd> + <kbd>B</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
**太字**
```

{% endtab %}
{% endtabs %}

#### 斜体

キーボードショートカット： <kbd>⌘</kbd> + <kbd>I</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
_斜体_
```

{% endtab %}
{% endtabs %}

#### 取り消し線

キーボードショートカット： <kbd>⇧</kbd> + <kbd>⌘</kbd> + <kbd>S</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
~~取り消し線~~
```

{% endtab %}
{% endtabs %}

#### コード

キーボードショートカット： <kbd>⌘</kbd> + <kbd>E</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
`コード`
```

{% endtab %}
{% endtabs %}

#### リンク

キーボードショートカット： <kbd>⌘</kbd> + <kbd>K</kbd>

ページ上のテキストにリンクを追加すると、リンク先の入力を求められます。任意の URL を追加できますが、サイト内の別のページやセクションにリンクする場合は、相対リンクの使用をおすすめします。

これは [外部ページへのリンクです](https://www.gitbook.com).

これは [このセクション内の別のページへのリンクです](/docs/documentation/ja-gitbook-documentation/creating-content/blocks.md).

これは [このページ内のセクションへのリンクです](#code).

これは [特定のアドレス宛てのメール作成を開始するリンクです](mailto:support@gitbook.com).

#### 文字色と背景色

コンテキストメニューの色アイコンをクリックし、テキストまたはその背景の色を選択します。

<mark style="color:オレンジ;">このテキストはオレンジ色です。</mark>

<mark style="background-color:orange;">このテキストの背景色はオレンジです。</mark>

### 右から左へのテキスト

GitBook は現在、右から左への記述に対応していません。段落と見出しは RTL テキストを自動的に検出してレイアウトを調整しますが、リストやその他のコンテンツブロックは適切に整列されない場合があり、一部の言語ではフォント品質が低下することがあります。


---

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