# コンテンツの書式設定

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

{% hint style="info" %}
これらのショートカットは Mac のキーを使って記載しています。代わりに **Control** を **⌘ (Command)** の代わりに使用してください。Windows または Linux のオペレーティングシステムでは、 [キーボードショートカット](/docs/documentation/ja-gitbook-documentation/rissu/keyboard-shortcuts.md) のセクションで、すべてのオペレーティングシステム向けのショートカットを確認できます。
{% 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 を追加できますが、スペース内の別のページやセクションにリンクする場合は、 [相対リンクの使用](/docs/documentation/ja-gitbook-documentation/creating-content/formatting/inline.md#relative-links).

これは [外部ページへのリンクです](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>


---

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