From f4a045b476924a76a4a7f34dc85b4dadc0a45fea Mon Sep 17 00:00:00 2001 From: zsviczian Date: Sun, 12 Dec 2021 10:34:27 +0100 Subject: [PATCH] Update ExcalidrawScriptsEngine.md --- docs/ExcalidrawScriptsEngine.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/ExcalidrawScriptsEngine.md b/docs/ExcalidrawScriptsEngine.md index 52db2df..a2cfd1b 100644 --- a/docs/ExcalidrawScriptsEngine.md +++ b/docs/ExcalidrawScriptsEngine.md @@ -23,7 +23,9 @@ An Excalidraw script will automatically receive two objects: - `utils`: There is currently only a single function published on `utils` - `inputPrompt: (header: string, placeholder?: string, value?: string)`. You need to await the result of inputPrompt. See the example below for details. -## Example Excalidraw Automate script +--------- + +## Example Excalidraw Automate Scripts ### Add box around selected elements @@ -156,4 +158,4 @@ elements.forEach((el)=>{ ea.addToGroup([el.id,ellipseId]); }); ea.addElementsToView(); -``` \ No newline at end of file +```