Skip to content

Get highlights working on pure JS implementation #719

Discussion options

You must be logged in to vote

You can check how highlightHit was implemented prior to the component architecture, and copy the code in your project: https://github.com/algolia/autocomplete/blob/741e7cc79803c2dd1317d6403d44978fca0cfb74/packages/autocomplete-js/src/highlight.ts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@markzegarelli
Comment options

Answer selected by markzegarelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants