pngwn / sapper-mdsvex-template

12 stars 5 forks source link

Where to start on implementing search? #8

Closed jamesb93 closed 3 years ago

jamesb93 commented 4 years ago

Hi there,

I'd like to implement a search bar for my website built using your wonderful package 👍

Where would I need to start looking to start retrieving results from the mdx materials from an input form?

jamesb93 commented 4 years ago

I suppose something like https://lunrjs.com/docs/index.html would be appropriate - the JSON structure could happen pre-compile as part of an npm/yarn script.