I'm using JS-Search to client-side search on GatsbyJS, I have a page of documentation with a lot of sections and some section has long text.
when I make a search the result is the text of the section with highlight marks on matches words
I would like to know if it's possible to get a smaller text as result? I look at the JS-Search but I couldn't find anything. Any suggestions here?
Note: By resume, I mean for example in the image you can see a paragraph with 7 lines but in only 2 lines have highlighted content, would be better only to show the sentences with highlighted contend.