gitbook-plugin-hints

1.0.2 • Public • Published

Styled hint blocks in your docs

This plugins requires gitbook >=2.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 %}

The above example will produce a div with the appropriate style:

<div class="alert alert-info">
Important info: this note needs to be highlighted
</div>

Available styles are:

  • info (default)
  • tip
  • danger
  • working

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.2548latest
4.0.0-alpha.64pre

Version History

VersionDownloads (Last 7 Days)Published
4.0.0-alpha.64
4.0.0-alpha.52
1.0.2548
4.0.0-alpha.42
4.0.0-alpha.32
4.0.0-alpha.22
4.0.0-alpha.12
1.0.13
1.0.02
0.0.13

Package Sidebar

Install

npm i gitbook-plugin-hints

Weekly Downloads

527

Version

1.0.2

License

Apache 2.0

Last publish

Collaborators

  • gitbook-bot
  • samypesse
  • jpreynat
  • emmerich
  • taranvohra
  • neoziro
  • soreine