How to set the file name when creating new note from template? #277
-
I want to set the file name to How can this be done? |
Beta Was this translation helpful? Give feedback.
Answered by
SilentVoid13
Jul 3, 2021
Replies: 1 comment 1 reply
-
Hey @LeducH, you can add the following command inside your template: <% await tp.file.rename("prefix-" + tp.date.now()) %> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SilentVoid13
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @LeducH, you can add the following command inside your template: