CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.48k stars 113 forks source link

Pagefind UI: mark matches in metadata items #160

Open holamgadol opened 1 year ago

holamgadol commented 1 year ago

Pagefind is a great tool, thanks for that. I wish It will be developing in the future.

Is it possible to mark matches not only in excerpt field, but also in metadata items, like titles and tags? It will gain greatly the visual representation of search results.

bglw commented 1 year ago

Yes! Thanks for pointing that out — I'll need to find a nice way to provide that data through the JS API, but that is very doable 🙂