Re: [Help] Trying to include my markdown files as tiddlers in my wiki

102 views
Skip to first unread message
Message has been deleted
Message has been deleted

Prestige

unread,
Nov 20, 2020, 7:30:21 AM11/20/20
to TiddlyWiki
Kindly help :)

On Friday, 20 November 2020 at 02:05:30 UTC+5:30 Prestige wrote:
Anyone?

On Friday, 20 November 2020 at 01:16:48 UTC+5:30 Prestige wrote:
I was trying to include a folder of .md files as tiddlers into my Wiki, but I am facing an issue in the name of the tiddler. The tiddler is imported fine but, the name includes the whole path of the file.
This is my tiddlywiki.files file. Can someone tell me what mistake I might be doing?

{
    "directories": [
        {
    "path": "./TheVault",
    "filesRegExp": "^.*\\.md$",
            "isTiddlerFile": true,
            "fields": {
                "title": {"source": "basename"},
                "created": {"source": "created"},
                "modified": {"source": "modified"},
                "type": "text/x-markdown"
            }
        }
    ]
}

Thanks
Prestige

Joshua Fontany

unread,
Nov 23, 2020, 2:03:51 AM11/23/20
to TiddlyWiki
Is that `tiddlywiki.files` file inside ".tiddlers/TheVault" alongside the files you want to import?

If so, that "path" line needs to be "." to indicate "current directory".

Best,
Joshua F

Saq Imtiaz

unread,
Nov 23, 2020, 3:27:54 AM11/23/20
to TiddlyWiki
@joshua just a heads up that this was resolved, and the problem was a typo in the name of the tiddlywiki.files file.
Reply all
Reply to author
Forward
0 new messages