Make filters case-insensitive
Currently, if you have <span data-pagefind-filter="Garnish">mint</span> and <span data-pagefind-filter="Garnish">Mint</span>, this will produce two separate filters.
Can we make case-insensitive the default or have a configuration to toggle this behavior?
It won't be the default, but happy to add configuration for this. It would likely take the form of something like --lowercase-filters supplied to the CLI, so both examples above would come through as mint.
The downside of this is that the UIs that grab the available filters from Pagefind will show mint instead of Mint, and will have to handle title-casing for display if required.
Thoughts?
I think that's fine. One can always use CSS to transform filter results to title-case.