Highlight query text with in Search Result

Super Contributor

Does anyone know of a way we can highlight query text within search result in modern search. We are creating FAQ pages and have few questions on a page. If user searches for a question we want the page to be shown in search result with question highlighted.

1 Reply
best response confirmed by Naveen Karla (Super Contributor)

@Naveen Karla 

By default, SharePoint search highlights the words in searched query text in the search results as shown below:


Also, you cannot customize the search results page in modern experience.


So, if you want to do the customizations in search results & search box capabilities, you can use: PnP Modern Search 

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.