In the absence of a files regexp node is trying to read the directory you 
add as if it were a file.


On Wednesday, October 7, 2020 at 10:35:48 PM UTC+2 Saq Imtiaz wrote:

> At first glance two things I would try.
>
> Use a relative path for the folder like ./A
>
> Add a files regexp for dir A
>
> "filesRegExp": "^.*\\.md$",
>
> On Wednesday, October 7, 2020 at 10:20:05 PM UTC+2 Prestige wrote:
>
>>
>> Hello all,
>>
>> I wanted to use TW5 with a markdown note taking system Obsidian. For that 
>> I followed saqimtaz's post on Reddit 
>> <https://www.reddit.com/r/TiddlyWiki5/comments/j1li5f/integration_with_obsidianmd/g71jqo3?utm_source=share&utm_medium=web2x&context=3>
>> .
>>
>> Everything worked fine except for a peculiar problem. I have my markdown 
>> files inside a  folder "A" in "tiddlers" folder and I have provided a 
>> "tiddlywiki.files" to read from folder "A" for all markdown files. But 
>> whenever I have a folder (say "B"), I get an error 
>> <https://prnt.sc/uuzynv>. 
>>
>> My " tiddlywiki.files" contains this code for now. 
>>
>> {
>>     "directories": [
>>         {
>>             "path": "A",
>>             "isTiddlerFile": true,
>>             "fields": {
>>                 "title": {"source": "basename"},
>>                 "created": {"source": "created"},
>>                 "modified": {"source": "modified"},
>>         "tags": [".tiddler"],
>>                 "type": "text/x-markdown"
>>         
>>             }
>>         }
>>     ]
>> }
>>
>> How can I change it to include all folders inside the directory "A"?
>> Do I have to manually add a directory code everytime I add a new folder 
>> inside "A"?
>>
>> Regards,
>> Prestige
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/127d7f9c-d1b5-4f01-a87b-909add68984an%40googlegroups.com.

Reply via email to