Handlebar Templates

Summary

Use handlebars, a powerful templating language which enables conditionals, for loops and custom helpers to apply to your templates without executing code.

Getting Started

Create a template

A template is just a regular note. While any note can be a template, we recommend adding templates in the [[template]] hierarchy of your vault.

  1. Create a template note. Use lookup and create the note template.pr-check-list
  2. Copy and paste the following contents
      ## Tasks
      - [ ] code is tested
      - [ ] code has proper commit message
      - [ ] code does not impact performance
    
  3. Create a new note task.code-check-in
  4. Run `Dendron: Apply Template`
  5. Choose template.pr-check-list
  6. See the template being applied.

Children
  1. Migration

Backlinks