Skip to main content

Templates

Templates allow you to insert pre-written snippets, structured frontmatter, or complete document layouts into notes. They form the foundation for consistent note organization, meeting logs, project briefs, and daily journals.


Configuring the Template Folder​

By default, Basalt looks for templates inside the Templates/ directory at your vault root. You can adjust this in Settings → Templates → Template Folder.

Any standard Markdown note created inside this folder becomes available as an insertable template.


Dynamic Variables​

Templates support dynamic substitution tokens that are automatically resolved when inserted into a document:

VariableOutput ExampleDescription
{{title}}Sprint RetrospectiveTitle or filename of the active note
{{date}}2026-10-03Current date in YYYY-MM-DD format
{{date:format}}Oct 03, 2026Date formatted using Moment-style tokens
{{time}}14:35Current local time (HH:mm)

Example Template: Meeting Note​

Create a note at Templates/Meeting.md:

---
date: {{date}}
attendees: []
tags:
- meeting
---

# {{title}} — {{date:MMMM Do, YYYY}}

## Agenda
- [ ]

## Notes


## Action Items
- [ ] ➕ {{date}}

Inserting Templates​

1. Insert into Current Note​

  • Place your cursor where you want the content inserted.
  • Press Ctrl+P / Cmd+P and run Templates: Insert template.
  • Select your template from the fuzzy picker modal. The resolved Markdown is inserted at your cursor.

2. Daily Notes Automation​

In Settings → Daily Notes, set Template file to your preferred daily template (e.g. Templates/Daily Note.md). Whenever a new daily note is generated, it will be pre-populated with that template.