>> Files inside directories inside A should be recursively loaded as long as they match the regexp.
It's not loading. I had to add that directory explicitly to make the md inside to load. On Thursday, 8 October 2020 at 02:24:25 UTC+5:30 [email protected] wrote: > Files inside directories inside A should be recursively loaded as long as > they match the regexp. > > No idea about TiddlyResearch. Suggest you address that question to the > author. There is a thread for TR in this group. > > > On Wednesday, October 7, 2020 at 10:48:05 PM UTC+2 Prestige wrote: > >> Okay. Thanks. >> It fixes the error. >> >> A few more question if I may: >> >> - What can I do to include the md files inside the folder B as >> tiddlers? >> - Also, I am using TiddlyResearch on top of TW5 (I think you are >> aware of it), and it has a need to specify tags (.tiddler, .folder etc). >> What can I do to retain the folder structure as is in my folder on TR >> itself? Currently, I am providing the tag .tiddler. >> >> >> On Thursday, 8 October 2020 at 02:08:24 UTC+5:30 [email protected] >> wrote: >> >>> 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/057b98d7-c05f-45bd-93d7-fe9750378131n%40googlegroups.com.

