Embed entire file using a query search query

What I’m trying to do

I have a vault with many notes that I would like to pull (i.e. embed) into a single note.

eg.

Note 1

idea: Text of the first note 
Note 2

idea: Content of second note
Note 3

idea: Some more content here.

I’d like to consolidate everything in a note like this:

# COMPLETE LIST

Note 1

idea: Text of the first note

Note 2

idea: Content of second note

Note 3

idea: Some more content here

Things I have tried

I have tried using a search queries, such as:

```query
idea
```

but while this finds the notes I need, it returns a collapsed list of matches, while I’d like to see the entire note, without having to click to expand it. (just to be clear, the actual notes are longer than the examples above, so being collapsed hides big part of the content.

I basically need the equivalent of

# Complete List

![[Note 1]]

![[Note 2]]

![[Note 3]]

Is there anything I can add to the query, to make sure the entire note is embedded, instead of just getting a list of matches?

No. Embedded searches unfortunately can’t be customized (and even if they could, it would likely be within the range of when you can do in the sidebar search, which doesn’t make it easy to show whole notes).

If you do the search in the sidebar, you can drag each note from the results into the body of the note to embed it, which may save some time over doing it by typing.

You could do your query in dataview and then just pass the names of the corresponding notes to the following (You need to adjust it, bc I dont know what your query looks like):

```dataviewjs
dv.span("![[Note 1]]");
```