Please watch this video to understand how to use this script: https://youtu.be/qDSHBnl83r8 The Gist contains 3 files
YouTube-create.mdis the main Templater scriptYouTube-Thumbnail.mdandYouTube-Storyboard.mdare two Excalidraw template files.
To download the files and add to your Obsidian Vault select Download ZIP at the top of the page, or switch to Raw view for each file and copy/paste the contents into Obsidian.
β β β ATTENTION β β β
Since releasing the video I realized that adding Templater script tags to text elements will only work if there is no linebreak in the text. Thus you are probably better off with the solution now included in this Gist, where I apply the same <% "---" %> trick to YouTube-Thumbnail.md as I do in YouTube-Storyboard.md as explained in the video. If you need to debug script tags, be sure to look for "text": "<%tp.file.folder()%>" in the JSON block and make sure it is not "text": "<%tp.file.folder()\n%>", or anything similar.