mirror of
https://github.com/bramses/bramses-highly-opinionated-vault-2023.git
synced 2025-02-26 07:53:55 +00:00
Update quick-add-create-project-folder.js
changed queryMarkdown so that Templater recognizes "'"
This commit is contained in:
@@ -59,7 +59,7 @@ where contains(projects, "${userInput.replace(/ /g, "-")}")
|
|||||||
\`\`\`
|
\`\`\`
|
||||||
< % *
|
< % *
|
||||||
const dv = this.app.plugins.plugins["dataview"].api ;
|
const dv = this.app.plugins.plugins["dataview"].api ;
|
||||||
const arr = await dv.queryMarkdown(\`LIST where contains(projects, "${userInput}")\`)
|
const arr = await dv.queryMarkdown('LIST where contains(projects, "${userInput.replace(/ /g, "-")}")')
|
||||||
tR += arr.value
|
tR += arr.value
|
||||||
% >
|
% >
|
||||||
\`\`\`\n\n`
|
\`\`\`\n\n`
|
||||||
|
|||||||
Reference in New Issue
Block a user