parseAlgoliaHitSnippet
Returns the snippeted parts of an Algolia hit.
#
Example with a single string#
Example with nested attributes#
Paramshit
#
AlgoliaHit
| required
The Algolia hit to retrieve the attribute value from.
attribute
#
string | string[]
| required
The attribute to retrieve the snippet value from. You can use the array syntax to reference the nested attributes.