Using dataview to pull lines of text with specific tags

What I’m trying to do

In my daily notes, I often place tags at the end of a line of text within the body.

I want to use dataview to build a list of all lines of text with a specific tag.

Things I have tried

LIST
FROM #quote

includes only the name of the file where the tag is found. Is it possible to show the line of text that contains the tag instead of the file name?

If your line is in a list you can get to it, by using FLATTEN file.lists as item, and then doing a WHERE contains(item.tags, "#quote"). If your text is just random paragraph, you need to read the entire file and process it using dataviewjs.

If you have use custom status in tasks (or decorated tasks), you can get to each quote using something like TASK FROM #quote.

So exactly how have you written your text? In paragraphs, list items or task items?