QuickAdd Capture to Change YAML in Existing Note

Sorry if this is really obvious - I did try quite a bit to find the answer but alas, I could not find it - at least not in a format that I understood. And I’m soooo close to making it work! I think I’m missing something really obvious.

What I’m trying to do

I’m trying to set up a QuickAdd Capture to change the YAML in my daily note. Specifically, to update the date & time of a specific property.

Things I have tried

I have most parts of it all set up:

  • It’s capturing to my daily note (06 Journal/Daily Notes/{{date}}.md)
  • It’s inserting the correctly formatted date and time ({{DATE:YYYY-MM-DD[T]HH:mm}})
  • It’s inserting after the correct text: test_time:
    BUT - it’s adding a line break, so the date & time is popping up on a whole new line as if it’s a new property instead of filling in the “test_time” property.

So my questions become:

  1. Is there a specific way to capture to existing YAML that I’m completely missing?
  2. Is there a way to capture without adding that linebreak?

Thank you!!!

~D