Skip to main content

Simple

In the simplest form, a template will have some content (information below the template separator line). In this example, the template simply uses the user.first _TODO:Update object in np.Templating Settings (NotePlan -> Preferences -> Plugins -> Settings)

Configuration

    ...
templates: {
...
user: {
first: 'Mike',
last: 'Erickson',
...
},
}
...

Template

# Test (HelloWorld)
*****
Hello <%- user.first %>

Output

Hello Mike