Rollver daily todos is a really nice extension for Obsidian.md that takes TODOs from yesterdays daily notes and rolls them over to today's notes. It has support for Obsidians built-in templates, but does - to my understanding - not really work well with the Templater Plugin. At least, I was unable to get it to work :-). Also, I wished it had some way to tell me that TODOs have been rolled over a few times already. Doing it this way is my way of working around these limitations.
I took some of the code of that "rollover daily todos" plugin and made it into a templater user script.
- Copy
rollover_daily_todos.js
into your templater user scripts directory. - Include it in your daily notes template, like so:
# Tasks
<% await tp.user.rollover_daily_todos() %>
If your folder id different from "Tasks/Daily", you might need to call it like this:
# Tasks
<% await tp.user.rollover_daily_todos(folder="My/Daily/Notes/Folder") %>
I modified it so you could use the script along with rollover.
Anything above the - [ ] ==TODOS== mark will be scraped and rolled over. Everything below would be ignored.
This allows a template like :
<% await tp.user.rollover() %>
==TASKS==
Work on napkin math ==30 minutes==
You could complete napkin math today, and tomorrow napkin math will come back. Its a hard coded dailly recurrying task.
Because rollover will also strip out any non tasks and leave them behind, the # Tasks will also be stripped away, the solution is to create your own seperator that is in task format. I've chosen
- [ ] ==TASKS==