Templater icon indicating copy to clipboard operation
Templater copied to clipboard

Allow specifying custom extension in create_file

Open gergesh opened this issue 1 year ago • 2 comments

gergesh avatar Sep 13 '24 20:09 gergesh

Thanks for contributing!

Can you help me understand the use case? I believe tp.file.create_new should work as is when referencing a template file that is of any file type, without having to explicitly define the extension.

Zachatoo avatar Sep 25 '24 02:09 Zachatoo

To be specific on my usage: I'm simply trying to create a new file with a custom extension from a template script.

gergesh avatar Oct 19 '24 20:10 gergesh