hugo-flexsearch

A library implementing Flexsearch to enable full text search for Hugo sites.

MIT License

Downloads
30
Stars
8
Committers
1

hugo-flexsearch

A library implementing Flexsearch to enable full text search for Hugo sites.

Usage

  1. Within your script tag, import this library.
  2. Initialize a new HugoFlexSearch object, with optional config arguments. You can find the list of default arguments in the constructor in src/hugo-flexsearch.js. You may also provide html strings to style the result object (with your own css classes/ids for styling).
  3. Run it!

Note that this library is NOT under active maintenance.