kubernetes-handbook/gitbook-plugin-search-plus
rootsongjc cd11aa375a deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
..
assets deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
.eslintrc.json deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
.npmignore deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
LICENSE deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
README.md deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
index.js deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
package.json deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
search.gif deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
search2.gif deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
search3.gif deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00

README.md

gitbook-search-plus

A powerful search plugin for GitBook.

Features

* Search any character
* Search across element (for search code)
* Remember search url

Use this plugin

Before use this plugin, you should disable the default search plugin first, Here is a book.json configuration example:

{
    plugins: ["-lunr", "-search", "search-plus"]
}

Note: Only gitbook >= 3.0.0 support

Examples

Open https://lwdgit.github.io/gitbook-plugin-search-plus/ or test it by yourself

    > git clone git@github.com:lwdgit/gitbook-plugin-search-plus.git -b gh-pages
    > cd gitbook-plugin-search-plus
    > npm install
    > npm start

And then open http://127.0.0.1:4000

Thanks To: