In my workflow, I would like to use a macro for creating task with a tag “#call”, and if possible, an optional value for a ‘SCHEDULED:’ field. I tried and searched all over to find a solution, with no success.
When I use the macro, e.g {{call mother, 2024-03-25}}, it renders:
but without making it a real task with checkbox and ‘TODO’ marker.
I also haven’t got a clue on how to make the ‘scheduled’ part optional (I could make a seperate macro of course, without that part, but I’m really curious if there isn’t a way to make a placeholder and part of the string optional.
Hi there, thanks for the suggestions. Past weeks, I did already play around with kits for executing JS, @mentaloid, and studied your excellent advices and suggestions in various topics about its use. I’m really fascinated, even though it feels like climbing a steep hill in my very early journey into the programming world. I will try your suggestion in the linked post. I’m also sure it is going to help me in the further development of my ‘ideal’ logseq workflow (if there even is such a thing ), thanks for all the input!
And @stdword, what an interesting plugin! Although I’m mostly looking for a solution without plugins, it really tickles my curiousity, mostly because of what’ under the hood