From 3a48db940d7bd9ac03396a9654aa099da41698cc Mon Sep 17 00:00:00 2001 From: Zsolt Viczian Date: Sat, 8 May 2021 07:57:31 +0200 Subject: [PATCH] updated documentation --- AutomateHowTo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutomateHowTo.md b/AutomateHowTo.md index 3ab66b2..f5565d3 100644 --- a/AutomateHowTo.md +++ b/AutomateHowTo.md @@ -327,7 +327,7 @@ This template will prompt you for the title of the drawing. It will create a new *Use CTRL+Shift+V to paste code into Obsidian!* ```javascript <%* - defaultTitle = tp.file.title; + defaultTitle = tp.date.now("HHmm")+' '+tp.file.title; title = await tp.system.prompt("Title of the new drawing?",defaultTitle); tR = String.fromCharCode(96,96,96)+'excalidraw\n[['+title+'.excalidraw]]\n'+String.fromCharCode(96,96,96) const ea = ExcalidrawAutomate;