Skip to content

Instantly share code, notes, and snippets.

@emisjerry
Last active November 9, 2021 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emisjerry/354671b8d4284a5b0d7ede2414c64d94 to your computer and use it in GitHub Desktop.
Save emisjerry/354671b8d4284a5b0d7ede2414c64d94 to your computer and use it in GitHub Desktop.
QuickAdd Capture Get Random Picture (Templater API) #obsidian #templater #quickadd

<%* let keywords = await tp.system.prompt("隨機圖片:輸入關鍵字(以 , 分隔)"); //keywords = keywords.replace(/ /g, ""); //console.log("keywords", keywords); %> <% tp.web.random_picture("1600x900", keywords) %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment