0.0.9 • Published 8 years ago

gitbook-plugin-richquotes v0.0.9

Weekly downloads
93
License
Apache-2.0
Repository
github
Last release
8 years ago

Gitbook plugin : Transform annotated quotes to notes

For gitbook 0.4.2+

Annotated notes are an extension of markdown blockquotes. Supported annotations :

  • > **Info** Info
  • > **Note** Note
  • > **Tag** Tag
  • > **Comment** Comment
  • > **Hint** Hint
  • > **Success** Success
  • > **Warning** Warning
  • > **Caution** Caution
  • > **Danger** Danger
  • > **Quote** Quote

Preview of richquotes

Annotations are case-insensitive.

Installation

Add this plugin to your book.json:

{
	"plugins": ["richquotes"]
}

Then run gitbook install to download and install the plugin.

Override built-in annotations

You can add user defined or override built-in annotations in book.json file:

{
	"plugins": ["richquotes"],
	"pluginsConfig":
	{
		"richquotes":
		{
			"star": {
				"alert": "warning",
				"picto": "fa-star"
			}
		}
	}
}

Refer to Bootstrap doc for alert value (alert- prefix is not needed).

Refer to Font Awesome doc for picto value.

Disable default quote

By default richquote will show a quote annotation. You can disable this behaviour in book.json file:

{
	"plugins": ["richquotes"],
	"pluginsConfig":
	{
		"richquotes":
		{
			"default": false
		}
	}
}
0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago