| Age | Commit message (Collapse) | Author |
|
also use set vars instead of fetching element again
|
|
credits: https://github.com/krisk/Fuse/releases/tag/v6.4.6
|
|
rm 'prevent mouseclick to change active element'
|
|
* set up basic actions on keypress
* add actions to perform conditionally
* add simple highlight animation
* prevent mouseclick to change active element
* clear input box on Escape
* click on Arrow Right
* clear results and focus search-input on esc
* refactor
|
|
* refer https://fusejs.io/api/options.html for opts
* keys used can be some, all or none from
["title", "permalink", "summary", "content"]
in config.yml, add fuseOpts as shown below =>
params:
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
|
|
|
|
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993
* modified working for PaperMod
* fetches current lang index.json for search
* add fuse.js v6.4.3 LICENSE: Apache License 2.0
* bundled fastsearch and fusejs as search.js
Co-authored-by: Craig Mod <stuff@craigmod.com>
|
|
* credits : https://cdnjs.com/libraries/highlight.js
|
|
* credits : https://cdnjs.com/libraries/highlight.js
|
|
|
|
v9.15.6 -> v9.18.3
|
|
|