How to merge text with same heading from different daily notes in weekly notes?

If you use the dataview plugin, you could try doing it with inline metadata:

Heading 1
heading1:: text 1
heading1:: text 2

Heading 2
heading2:: text 3
heading2:: text 4, this can be multiline if you need it to be, it can keep going and going and I think until you do a line break, it should grab everything

And then pulling it in via something like this:

$=dv.list(dv.pages('"your/daily/note/folder"').where(p => p.heading1).sort(p => p.file.name, 'desc').map(p => p.file.link + " " + p.heading1));`

That will give you a list that looks something like:

  • link to daily note text 1
  • link to daily note text 2

You can use Templater to set the queries up in your weekly note.

1 Like