JSPM

gitbook-plugin-search-pro2

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 44
  • Score
    100M100P100Q25739F
  • License MIT

Gitbook search engine pro2. (支持中文搜索, 模糊匹配, 文件名查找, 父目录查找)

Package Exports

  • gitbook-plugin-search-pro2
  • gitbook-plugin-search-pro2/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gitbook-plugin-search-pro2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gitbook-plugin-search-pro

Gitbook search engine pro. (支持中文搜索)

支持模糊查找

支持文件名查找

You can search any characters(utf-8) and highlight it in your GitBook, not only english(exp:Chinese).

Note: Only gitbook >= 3.0.0 support

Demo preview

ONLINE DEMO:

http://gitbook-plugins.github.io/gitbook-plugin-search-pro/book/

GIFs





Usage

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

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

Example

After installed gitbook.

    > git clone git@github.com:gitbook-plugins/gitbook-plugin-search-pro.git -b gh-pages
    > cd ./gitbook-plugin-search-pro
    > npm install
    > gitbook serve ./

And then open http://127.0.0.1:4000

Thanks: