Templater
Templater copied to clipboard
Create new file from template
Discussed in https://github.com/SilentVoid13/Templater/discussions/514
Originally posted by Ampa April 3, 2021 At present we can create a new file, and then as a second step insert a template.
Would you consider a new action: Create new from template?
This would carry out both steps as a single action.
It is 2024 and it still does'nt work.
My settings:
When there is no active note in Obsidian and i will trigger the hotkey im getting this:
And this is the template:
There is no append command in the code!
You can achieve the desired result by using tp.file.create_new in your template to create a new file.