# ヒント

ヒント、またはコールアウトは、ドキュメント内の特定の要素、たとえばヒント、警告、その他の重要な情報に読者の注意を向けるのに最適な方法です。

ヒントには4つの異なるスタイルがあります。スタイルを変更するには、ブロックの **オプションメニュー** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/ce0e0a07ded643c4e219bbfe214239e291d0c7a1" alt="The Options menu icon in GitBook"></picture> を開き、希望するスタイルを選択します。各スタイルには既定のアイコンが使われますが、アイコンをクリックして [の別のアイコンを選ぶことで、アイコンをカスタマイズできます。](/docs/documentation/ja-gitbook-documentation/creating-content/formatting/inline.md#icons).

ヒントブロックは [インラインコンテンツ](/docs/documentation/ja-gitbook-documentation/creating-content/formatting/inline.md) 、 [の書式設定](/docs/documentation/ja-gitbook-documentation/creating-content/formatting.md)、およびいくつかの特定のブロックタイプをサポートしています。ヒント内で使用できるブロックタイプを確認するには、空行で `/` を押して、 [挿入パレット](/docs/documentation/ja-gitbook-documentation/creating-content/blocks.md#inserting-a-new-content-block).

### を確認してください。 <a href="#example-of-a-hint" id="example-of-a-hint"></a>

{% hint style="info" %}
**情報ヒント** は、一般的な情報を示したり、ヒントやコツを提供したりするのに最適です。
{% endhint %}

{% hint style="success" %}
**成功ヒント** は、前向きな行動や達成を示すのに適しています。
{% endhint %}

{% hint style="warning" %}
**警告ヒント** は、重要な情報や重大ではない警告を示すのに適しています。
{% endhint %}

{% hint style="danger" %}
**危険ヒント** は、破壊的な操作を強調したり、重要な情報に注意を向けさせたりするのに適しています。
{% endhint %}

{% hint style="info" icon="books" %}
このヒントブロックにはカスタムアイコンがあります。
{% endhint %}

{% hint style="info" %}

#### **これはH2見出しです**

これは1行です

これはインラインの <img src="/files/2d10aff3e5931b9db9f3f2816c6ad372dab53d07" alt="The Apple computer command icon" data-size="line"> 画像です

* これは2行目の <mark style="color:オレンジ;background-color:purple;">順序なしリストと色を使った行です</mark>
  {% endhint %}

ヒントに見出しを追加するには、ヒント内の最初のブロックとして見出しブロックを作成する必要があります。

### Markdown での表現

```markdown
{% hint style="info" %}
**情報ヒント**は、一般的な情報を示したり、ヒントやコツを提供したりするのに最適です。
{% endhint %}

{% hint style="success" %}
**成功ヒント**は、前向きな行動や達成を示すのに適しています。
{% endhint %}

{% hint style="warning" %}
**警告ヒント**は、重要な情報や重大ではない警告を示すのに適しています。
{% endhint %}

{% hint style="danger" %}
**危険ヒント**は、破壊的な操作を強調したり、重要な情報に注意を向けさせたりするのに適しています。
{% endhint %}

{% hint style="info" %}

{% hint style="info" icon="books" %}
このヒントブロックにはカスタムアイコンがあります。
{% endhint %}

## これはH2見出しです

これは1行です

これはインラインの <img src="../../.gitbook/assets/25_01_10_command_icon_light.svg" alt="Appleコンピュータのコマンドアイコン" data-size="line"> 画像です

- これは、順序なしリストと色を使った2行目の <mark style="color:orange;background-color:purple;">行です</mark>
{% endhint %}
```


---

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