benjypng/logseq-todoist-plugin

How to add the command in a template and make it auto-run

Closed this issue · 9 comments

Hi,

firstly, thanks @hkgnp for developing for this plugin, it really made my life easier.

I'm opening this issue because:

  1. I have a template that is executed daily and it appears on my journal block.
  2. I would like the command /pull today to be executed and generate the list of task of that day automatically.

Is that possible? Adding the command to the template now executes the command instead of waiting to execute it every midnight.

Thanks!

Thanks for the answer, this is how I do it with the "Unfinished business" plugin:

image

Is there something similar with todoist plugin?

Sounds good! Many thanks @hkgnp!!

Please update the plugin and setup your template as follows (i.e. {{renderer :todoist_randomword}}):

Screenshot 2022-11-05 at 5 52 15 PM

Let me know if it works.

Hi @hkgnp, thanks for this update. Seems what I was looking for, but I'm not sure if I do it well, but the string {{renderer: todoist_randomword}} still stays in the page after being executed, and then every time I interact with the tasks or the block, it executes again.

Apologies could you try to update to the latest version and try to set it up again?

Works like a charm now, many thanks @hkgnp!!

Has this item been deprecated in later releases?