gitbook-plugin-modal

0.0.2 • Public • Published

gitbook-plugin-modal

Plugin for GitBook to show a modal in page.

Use

{
  "plugins": [
    "modal"
  ],
  "pluginsConfig": {
    "modal": {
      "html": "<h1>123</h1>",
      "closable":false,
      "excludeUrls": [
        "\\/$"
      ]
    }
  }
}

Options

  • html: modal content html string.
  • closable: modal can't be close?
  • excludeUrls: page url list should not show modal in RegExp.

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-modal

Weekly Downloads

2

Version

0.0.2

License

ISC

Last publish

Collaborators

  • gwuhaolin