https://github.com/lwdgit/gitbook-plugin-search-plus
gitbook powerful search plugin
https://github.com/lwdgit/gitbook-plugin-search-plus
gitbook gitbook-search
Last synced: about 1 year ago
JSON representation
gitbook powerful search plugin
- Host: GitHub
- URL: https://github.com/lwdgit/gitbook-plugin-search-plus
- Owner: lwdgit
- License: apache-2.0
- Created: 2016-12-22T12:00:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T12:03:17.000Z (about 9 years ago)
- Last Synced: 2025-04-20T20:35:32.881Z (about 1 year ago)
- Topics: gitbook, gitbook-search
- Language: JavaScript
- Homepage: https://lwdgit.github.io/gitbook-plugin-search-plus/
- Size: 4.05 MB
- Stars: 29
- Watchers: 1
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
[](https://lwdgit.github.io/gitbook-plugin-search-plus/)
[](https://lwdgit.github.io/gitbook-plugin-search-plus/)
[](https://lwdgit.github.io/gitbook-plugin-search-plus/book/?q=%E8%BF%99%E6%9C%AC%E5%B0%8F%E4%B9%A6%E7%9A%84%E7%9B%AE%E7%9A%84%E6%98%AF%E5%BC%95%E5%AF%BC%E4%BD%A0%E8%BF%9B%E5%85%A5%20React%20%E5%92%8C%20Webpack%20%E7%9A%84%E4%B8%96%E7%95%8C)
Open [https://lwdgit.github.io/gitbook-plugin-search-plus/](https://lwdgit.github.io/gitbook-plugin-search-plus/book/?q=%E8%BF%99%E6%9C%AC%E5%B0%8F%E4%B9%A6%E7%9A%84%E7%9B%AE%E7%9A%84%E6%98%AF%E5%BC%95%E5%AF%BC%E4%BD%A0%E8%BF%9B%E5%85%A5%20React%20%E5%92%8C%20Webpack%20%E7%9A%84%E4%B8%96%E7%95%8C) 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:
* [gitbook-plugin-lunr](https://github.com/GitbookIO/plugin-lunr)
* [gitbook-plugin-search](https://github.com/GitbookIO/plugin-search)
* [mark.js](https://github.com/julmot/mark.js)