From b445a62f50c7550264bf94cf8f45909ce1d6b914 Mon Sep 17 00:00:00 2001 From: Zsolt Viczian Date: Sat, 8 May 2021 09:10:20 +0200 Subject: [PATCH] . --- AutomateHowTo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutomateHowTo.md b/AutomateHowTo.md index bbc6a79..61a1f3a 100644 --- a/AutomateHowTo.md +++ b/AutomateHowTo.md @@ -331,7 +331,7 @@ This template will prompt you for the title of the drawing. It will create a new const title = await tp.system.prompt("Title of the drawing?", defaultTitle); const folder = tp.file.folder(true); const transcludePath = (folder== '/' ? '' : folder + '/') + title + '.excalidraw'; - tR = String.fromCharCode(96,96,96)+'excalidraw\n'+transcludePath+'\n'+String.fromCharCode(96,96,96); + tR = String.fromCharCode(96,96,96)+'excalidraw\n[['+transcludePath+']]\n'+String.fromCharCode(96,96,96); const ea = ExcalidrawAutomate; ea.reset(); ea.setTheme(1); //set Theme to dark