menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right node_modules chevron_right gitbook-plugin-search-pro
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    lightbulb_outline 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





    Usage

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

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

    Example

    After installed gitbook.

        > git clone [email protected]: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: