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

# コンテンツの書式設定

コンテキストメニューやキーボードショートカットを使って、さまざまな方法でコンテンツを整形できます

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

{% hint style="info" %}
これらのショートカットは Mac のキー表記で記載しています。Use **Control** の代わりに **⌘ (Command)** Windows または Linux オペレーティングシステムで使用します。すべてのオペレーティングシステムのすべてのショートカットを確認するには、キーボードショートカットのセクションをご覧ください。
{% 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/create-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/create-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.
