You’d have to use it like this \event-date(start: full)
where full can also be medium or short, depending on how you’d like it to appear.
Thank you! Now it works!
I wish to create a note for the week of x, and then set the date range of the note to be from Mon-Fri.
I understand how to set dates within titles, but is it possible to set date ranges for notes themselves…and the projects to which they should be assigned…using templates?
Thanks!
Unfortunately that kind of relative date setting isn’t possible at the moment, we’ll take it into consideration.
This would be really useful for me too!
Is there a keyword that inserts the week number in the template?
You can insert the week number using \date(format: w)
, see Unicode Date And Time Cheatsheet — Toolbox Pro for all format options.
Nifty, thanks!
Could you make it possible to rename a template separate from the title inside it? I have a daily note template like
\date(yyyy-MM-dd)
-
which is handy, but I wish I could rename the template itself to something like “Daily note” rather than “\date(yyyy-MM-dd)”. I know this is super minor, but it’d be a friendly little quality of life improvement.
You can, just double-click the entry in the sidebar on the left of the template window, you can give it a different name than the default (the title of the note).
Oh! Turns out you can. I don’t think that’s documented, though. Perhaps it should be?
It’s indeed not very well documented, we’ll make it more clear.
I am trying to use event-date in a template to get the following date output for a linked calendar event in my notes text.
Tuesday, 18 April 2023 at 03:00 pm
or Day, dd MMMM yyyy at h:mm a
I am defining the format as below…
\event-date(start: format: EEEE\, dd MMMM yyyy) at \time(format: hh\:mm a)
What am I doing wrong?
You would have to use:
\event-date(start: EEEE\, dd MMMM yyyy 'at' hh\:mm a)
Oh ! Realised my mistake… All works as expected now.
Thank you for the wonderful support.
Is there a way to prevent event notes or attendees (or both) from rendering alongside the template? I’m using cmd+click, Create New Note from Template… and my template just has a short outline in it. I don’t want to see anything else.
Use case: I have some meetings where I don’t care about recording the attendees but I want the Agenda note to sync to the date and time of the meeting.
You can do this by using the right placeholders, as shown here Creating and Using Templates - #4 by system, like \event-title
and \event-date
clipboard placeholders inside codeblock not working, Is this supported, if not can it be added in future releases?
Also if there is no space before the placeholder then it doesn’t work, is there a workaround for that