idea

Mustache is a logic-less templating format with many implementations.

Handlebar is a javascript templating library that allows compiling a template and applying it to a model.

# Reading notes
{{#each highlights}}{{#if note}}
{{note}}
{{/if}}{{/each}}
const formatter = handlebars.compile(template);
  formattedHighlights = formatter({
    highlights: notes.highlights,
    title,
    author
  })

links

references