Is it possible to change a line from yaml frontmatter when I check or uncheck a task?
Any idea is welcomed, thank you
Things I have tried
I searched the forum for checkbox / task and yaml / frontmatter
What I’m trying to do
In frontmatter it shows “meditation: 0”
And in the daily page at the ToDo there is this task:
[ ] Meditation
So when I check the Meditation checkbox, is it possible to change the yaml frontmatter from 0 to 1 in the line where meditation is? So the yaml line becomes “meditation: 1”
I am asking this because during the day I am focused on the ToDo list, but I am also using Tracker to keep my eye on this habit, which takes the information from the frontmatter.
I think I got it. If I close the brackets after search type [] then I get “No valid Y value found in notes”. If I just make it “x] Meditate”, they are only counted if I checked the box in my daily note.