Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 9, 2019. It is now read-only.

GitBook plugin: Adds Bootstrap like callouts to your GitBook

License

stuebersystems/gitbook-plugin-bootstrap-callout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

Gitbook Callout Plugin npm version

This plugin creates Bootstrap like callouts for your GitBook. All three GitBook themes (White, Sepia, Night) are supported. This project took heavy inspiration from https://github.com/gubler/gitbook-plugin-callouts.

Usage

Installation

Add the plugin to your book.json:

{
 "plugins" : [ "bootstrap-callout" ]
}

Create callouts

Callouts are an extension of markdown blockquotes. All callouts must start with a h4 header, the callout type, and a title. The format for this is:

For Markdown:

> #### type::Title
>
> Content

Supported callouts are:

  • > #### primary::Title
  • > #### success::Title
  • > #### danger::Title
  • > #### warning::Title
  • > #### info::Title

If you leave out the type a default callout is used.

> #### Title
>
> Content

Callouts are case-insensitive.

Screenshots

The callouts in action (White theme):

Screenshots

Changelog

  • 0.1.0 Releases:
    • 0.1.0 First release
    • 0.1.1 Some text changes
    • 0.1.2 Show title only if it has a value (thanks arikfr)

About

GitBook plugin: Adds Bootstrap like callouts to your GitBook

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

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