From Daily Note, Create a New Note with a Template

I did see the docs, but I was missing some of the surrounding context. For posterity, here are the bits I was unsure about.

How, or where, do I make the button or use the meta bind snippet?

There’s options! Okay, they’re really the same thing. There’s just different ways to get there

  • From the command palette, Meta Bind: Open Button Builder is what you want

OR

  • From settings > community plugins > meta bind > button templates > edit templates

Either way, make note of the [unique] ID you’re giving to the button. It’ll get used later to make the button

What code did you use for the button template?

I used the button building form in settings to create this:

label: Standup
icon: ""
hidden: false
class: ""
tooltip: ""
id: standup-btn
style: primary
actions:
  - type: templaterCreateNote
    templateFile: Templates/StandupTemplate.md
    folderPath: /
    fileName: ""
    openNote: true

Where do I put the templater code for renaming the file?

It doesn’t matter where in the file, but you’ll but it in the template the button is meant to create. When I put it on it’s own line at the top of the file, the code did it’s job but there was an empty line for no good reason. So, I moved the code to the end of another line. Good bye extra lines

Here’s how to add a button

This will allow other buttons on the same line aka inline. Instead of button-id, give the id you made in the button template

BUTTON[button-id]

mine looks like BUTTON[standup-btn]