Display highlightedFields in the UI using Answers SDK

I have a question about the Answers SDK - is there a function in the SDK or existing documentation that I can take a look to display the highlightedFields in the UI (instead of normal fields)?

Hi Amit,

Welcome to the Community! To display highlighted fields in your cards using the Answers Search UI SDK, you can reference the result._highlighted in your card template (they are currently not available in dataMappings for cards).

The “Text Highlighting” section here has an example you can reference: Result Cards | Hitchhikers

Let us know how this works for you!

Thanks,
Rose