[Question] Creating a complex capture structure, need some guidance
Hey gang, so I've been attempting to create a more organized way to capture daily tasks in with org-capture and I'm having trouble figuring out the best way to do so.
The structure I want is the following:
* [%] <2023-11-10>
** [ ] #[A] Some title for a task due today :work:
DEADLINE: <2023-11-10>
The idea would be:
If a top level heading for today's date doesn't exist, create it and create a subheading
If a top level heading for today's date does exist, simply just add a subheading.
At first, I had a function I tried to use that didn't work the way I wanted when I first wrote it. In retrospect, I don't know why I thought it would.
Then I tried using capture templates but that doesn't meet the requirements.
In rewriting the function I linked to previously, this is what I have so far: