From 18af31286b0b28cc21d01c8cc96e863451ed36dc Mon Sep 17 00:00:00 2001 From: chriswayg Date: Tue, 20 Aug 2024 23:56:13 +0800 Subject: [PATCH] Folder path for pages needs to be quoted in additional single quotes Without that change, the script will display the following error: Dataview: Failed to execute view 'Main/NotesList/view.js'. Error: Failed to parse query in 'pagePaths': Error: -- PARSING FAILED -------------------------------------------------- > 1 | Notes/Theology | ^ Expected one of the following: '!', '(', '-', 'csv(', 'outgoing(', file link, string, tag ('#hello/stuff') --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3192cca..ce7dbf1 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,11 @@ pages: "" Get all notes in obsidian. ``` -pages: "Notes/Theology" +pages: '"Notes/Theology"' ``` Set a custom folder to get notes from. + +*In order to set a custom folder that is passed to pages, the folder path needs to be passed including the double quotes either by enclosing them in single quotes as shown above or by escaping the double quotes like this: "/"Notes/Theology/"".* --- ### view: