Add an an example of highlighting predefined items to the documentation #1008
JoeVanGundy
started this conversation in
Ideas
Replies: 1 comment
-
Hi, Since your data does not live in Algolia, you would have to compute the highlight metadata yourself. In this case, you would probably benefit from handling the rendering directly yourself instead of using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using
parseAlgoliaHitHighlight
works great when the data source is coming from Algolia.But for the life of me, I can't find a clean way of having the same behavior for items that I predefine locally.
Totally get that I could just write my own handler, but then I'd have two separate pieces of logic (Algolia's and mine) for highlighting.
I'm not sure if this just isn't possible, or if I'm just missing something?
My problem:
Beta Was this translation helpful? Give feedback.
All reactions