Help with simple? code

edited June 8, 2023
I have made a note template and I would love if this note template would automatically incorporate the authors' last name a year of publication at the top of the note. But I'm not being able to code that.

The title of the note ideally would come as something like:

<h1> Doe (2023) Notes: [today's date] </h1>

This is what I have now:

<h1> <"author"><"year"> Notes: ${new Date().toLocaleDateString()} </h1>

sorry if this is not the right forum for this - and please let me know where that would be.

thank you
Sign In or Register to comment.