Skip to content

Instantly share code, notes, and snippets.

@GitMurf
Created October 27, 2021 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GitMurf/fbdc30c54d6a6a18aa5c8c7aa4611244 to your computer and use it in GitHub Desktop.
Save GitMurf/fbdc30c54d6a6a18aa5c8c7aa4611244 to your computer and use it in GitHub Desktop.
<%*
const noteName = tp.file.title;
const queryKeyword = await tp.system.prompt("Keyword for Tasks search query", noteName);
if(queryKeyword) {
tR = `
\`\`\`query
-file:inbox (file:("${queryKeyword}") line:(" [ ] ")) OR (section:(--"${queryKeyword}" " [ ] ")) OR (section:(--"${queryKeyword}" section:(" [ ] ")))
\`\`\`
`
}
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment