gitbook-plugin-bootstrap-grid

0.0.2 • Public • Published

Gitbook Bootstrap Grid Plugin

Enable using Bootstrap Grid in your books

Install

open book.json, add bootstrap-grid in "plugins"

{
    "plugins": [ "other-plugin", "bootstrap-grid" ]
}

Usage

Use it like using bootstrap, add row blocks then col blocks.

{% row %}
    {% col %}
        col body 

    {% col %}
        col body 

{% endrow %}

col blocks has one argument which is bootstrap col variants like col-size-n. The the size-n as the argument. If the argument is undefined then the class is col

{% row %}
    {% col "lg-6" %}
        col body 

    {% col "lg-6" %}
        col body 
{% endrow %}

The arguments of blocks have to add "", otherwise the value will be NaN

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-bootstrap-grid

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

36.4 kB

Total Files

4

Last publish

Collaborators

  • wadehuang36