Templater script : Create a new template -> open in split view -> paste link to the new note

The user script name comes from the filename, not from the exported function name. I never thought of calling them anything else - main was what was in the docs. It doesn’t appear anywhere.

The rest of your post is just preference. I do it the way I do it because I prefer to write this.foo() instead of tp.user.scriptFilename().foo(). Plus I only want to execute the scriptFilename function or class one time. But just do whatever you prefer, it’s all fine and it all works.

One day I might clean it up and publish it, but you can get the general overview from my vault here:

https://github.com/alangrainger/obsidian-gtd

1 Like

Thank you for sharing it looks awesome. And also thanks for answering my questions. My brain doesn’t work well if I don’t have every detail of something clear :upside_down_face:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.