Template: <%* const id = tp.file.creation_date("YYYYMMDDHHmmss"); await tp.file.rename(`${id} ${tp.file.title}`); %>
Templater code snippet that renames current file to add date & time creation to title of note.
Template: <%* const id = tp.file.creation_date("YYYYMMDDHHmmss"); await tp.file.rename(`${id} ${tp.file.title}`); %>
Templater code snippet that renames current file to add date & time creation to title of note.
That's it! Just replace let! with let_it_be. That's equal to the before_all approach but requires less refactoring.
From Holden to Kalir
Ha! Thank you. And it’s a neat story.
(Holden, 2016a; Kalir, forthcoming)
Might be a good time to ask about the name change. Hope it’s not too indiscreet.