vitepress
vitepress copied to clipboard
Add lunr.js as one of the available plugins for Search
Is your feature request related to a problem? Please describe.
I noticed that the search bar by default is pretty bad compared to the one in mkdocs, at least for me
Describe the solution you'd like
add lunr.js which has proven to be very good in conjunction with mkdocs and you hardly need to configure it extensively to get a good result https://github.com/olivernn/lunr.js
Describe alternatives you've considered
improve default search
Additional context
Vitepress:
the desired result always appears last
MkDocs:
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Read the Contributing Guidelines.
- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Try using https://github.com/emersonbottero/vitepress-plugin-search or https://docs.oramasearch.com/open-source/plugins/plugin-vitepress once.