-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Todoist Task for links #26
Comments
I'd be happy to merge a PR for this, but I probably won't have the time to implement it myself. It would probably mostly be a change to this conditional https://github.com/wbthomason/zotodo/blob/master/content/zotodo.ts#L462, but I'd need to figure out the right values for links. |
@topwebs Without modify the source code, you can replace the default set of "Javascript template string for new tasks" Read "?${url}:[${title}](${url})?!${url}:${title}!" with: Read "?${select_uri}:[${title}](${select_uri})?!${select_uri}:${title}!" This directs you to the Zotero item. |
Thank you so much for this alternative template! (I think it should be the default template) And although I don't know any javascript, I even managed to further amend it to include the authors. It took my a while to figure it out, though, so here it is for anyone who wants to include the author in the todoist task: Read "?${select_uri}:[${title}](${select_uri})?!${select_uri}:${title}!" ?${authors}:by ${authors}? It seems to work for me, but feel free to correct or improve! |
Would be nice if tasks were created for links to files.
The text was updated successfully, but these errors were encountered: