Socket
Socket
Sign inDemoInstall

gitbook-plugin-bootstrap-grid

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitbook-plugin-bootstrap-grid

use Bootstrap grip in gitbook


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
35.5 kB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 14 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc