Try without the leading spacing in the template note.
---
date: <% tp.date.now("YYYY-MM-DD") %>
attendees:
---
<%*
let currentDate = tp.date.now("YYYY-MM-DD");
tp.file.rename("Meeting Note " + currentDate);
%>
Try without the leading spacing in the template note.
---
date: <% tp.date.now("YYYY-MM-DD") %>
attendees:
---
<%*
let currentDate = tp.date.now("YYYY-MM-DD");
tp.file.rename("Meeting Note " + currentDate);
%>