Highlight snippets that do not cross new lines

I would like to be able to receive highlights from elasticsearch that do not cross newlines. Suppose I have the following document:
"""
Foo
Bar
Baz
"""
I would like a search for "Foo Bar Baz" to return [Foo,Bar,Baz] as seaparate highlights, due to the new lines. Rather, however, it retursn ["Foo Bar Baz"] as a single highlight.

Could anyone help me here? I don't see anyhthing about this on the documentation for highlighting.

I don't think that is a thing that the highlighters support right now. If
you split by new line and put the text in a json array before putting into
elasticsearch it'd do what you wanted though.