Daily notes template: Include section content from yesterday

What I’m trying to do

I’m trying to make proper use of daily notes. In my train of thoughts, I love to start today’s note from a copy of yesterday’s one. Potentially, I could exclude some content (for example, completed todos).

Let’s say that a typical daily note looks like:
###Thoughts

  • Bullet
  • Action0
  • Action1 (completed)

###Another topic

  • Bullet2
  • Action2
  • Action3 (completed)

At midnight, when the new note of today gets generated, I’d like to start with:
###Thoughts

  • Bullet
  • Action0

###Another topic

  • Bullet2
  • Action2

Things I have tried

I know how to make queries, display the content of a section in another note, but I haven’t found a way to:

  • Get such queries in a template
  • Filter out, in a query covering a section, the completed actions

Can you please help me understand if my goal is achievable, and how I could build such “query-enabled” template?

Thanks a lot!

For the “action” items you may want to look at the Tasks community plugin.

1 Like

Thanks a lot! I’m indeed already using this, and task-related queries work fine.
I do wonder if I can generate tomorrow’s daily note based on today’s content, excluding completed tasks?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.