mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +00:00
Styled hint blocks in your docs
This plugins requires gitbook >=4.0.0.
Install
Add the below to your book.json file, then run gitbook install :
{
"plugins": ["hints"]
}
Usage
You can now provide hints in various ways using the hint tag.
{% hint style='info' %}
Important info: this note needs to be highlighted
{% endhint %}
Styles
Available styles are:
info(default)tipdangerwarning
Custom Icons
{% hint style='info' icon="mail" %}
Important info: this note needs to be highlighted
{% endhint %}