Hey everyone,
I'm using the Confluence Cloud API to implement a search bar that shows results with the page's title as well as a preview snippet of where that search phrase is found in the content of the page.
The behaviour is similar to how Jira's developer documentation's search works. The API returns a searchRecords array, found within each result is a "content" key which shows the preview snippet for that search phrase in HTML format. Is this possible to do with the Confluence Cloud API or any of Jira's API? and if so where can I find that.


Thanks!