What exactly does the Files regexp does? and where can I learn about these things?
On Thursday, 8 October 2020 at 02:18:05 UTC+5:30 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/b45ed1a6-aca3-4819-bfef-87d14b0ff002n%40googlegroups.com.

