Plugin for GitBook to show a modal in page.
{
"plugins": [
"modal"
],
"pluginsConfig": {
"modal": {
"html": "<h1>123</h1>",
"closable":false,
"excludeUrls": [
"\\/$"
]
}
}
}
-
html
: modal content html string. -
closable
: modal can't be close? -
excludeUrls
: page url list should not show modal in RegExp.