New: AI Insights are here.
See what your users are asking.
Ctrlk
Pricing Log in Sign up
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hints

Add a hint to a page to draw your reader’s attention to specific pieces of important information.

Hints, or callouts, are a great way to bring the reader’s attention to specific elements in your documentation, such as tips, warnings, and other important information.

There are four different hint styles — you can change the style by opening the block’s Options menu The Options menu icon in GitBookThe Options menu icon in GitBook and selecting the style you want. Each style uses a default icon, but you can customize the icon by clicking on it and choosing another one from our icons set .

Hint blocks support inline content and formatting , as well some specific block types. To see which block types you can use in a hint, hit / on an empty line and check the insert palette .

Examples of hint blocks

Info hints are great for showing general information, or providing tips and tricks.

Success hints are good for showing positive actions or achievements.

Warning hints are good for showing important information or non-critical warnings.

Danger hints are good for highlighting destructive actions or raising attention to critical information.

books

This hint block has a custom icon.

This is a H2 heading

This is a line

This is an inline The Apple computer command icon image

  • This is a second line using an unordered list and color

To add a heading to your hint, you need to create a heading block as the the first block in the hint.

Representation in Markdown

{% hint style="info" %}
**Info hints** are great for showing general information, or providing tips and tricks.
{% endhint %}
{% hint style="success" %}
**Success hints** are good for showing positive actions or achievements.
{% endhint %}
{% hint style="warning" %}
**Warning hints** are good for showing important information or non-critical warnings.
{% endhint %}
{% hint style="danger" %}
**Danger hints** are good for highlighting destructive actions or raising attention to critical information.
{% endhint %}
{% hint style="info" icon="books" %}
This hint block has a custom icon.
{% endhint %}
{% hint style="info" %}
## This is a H2 heading
This is a line
This is an inline <img src="../../.gitbook/assets/25_01_10_command_icon_light.svg" alt="The Apple computer command icon" data-size="line"> image
- This is a second <mark style="color:orange;background-color:purple;">line using an unordered list and color</mark>
{% endhint %}

Last updated

Was this helpful?

AltStyle によって変換されたページ (->オリジナル) /