Summary note of all sections with heading ## Status [[projectx]] in daily notes

I have different projects with their own dedicated note. For meetings or related calls, I usually make a different subsection in my daily notes (e.g. ## Status [[projectx]]). I find this more manageable compared to creating subsections in the projectx note itself. From my projectx note I can then rely on the linked mentions (and search field) to find them back.

The overview in linked mentions on the projectx note however only gives the first line(s) of the related sections, and it is hard/impossible to filter on only on section headers containing for example the word “Status” and [[projectx]].

I really would like to have a sort of dynamically updated summary/report containing all sections (with content) with such headers. This may be a new note, or something which can be embedded inline in the projectx note.

Something like:

(from daily/2022-10-12.md)

Status [[projectx]]

… ALL section text

(from daily/2022-10-11.md)

Status [[projectx]]

… ALL section text

Any suggestions on how this can be done?