Templates
Create reusable content structures for consistent note-taking
Templates in Octarine allow you to create reusable blocks of content that can be quickly inserted into any note. Unlike page-level templates in other apps, Octarine treats templates as insertable blocks, giving you the flexibility to use multiple templates within a single note.
The Basics
Templates are stored in a dedicated .templates folder in your workspace. Each template is a standard markdown file containing the content structure you want to reuse. When applied, the template's content is inserted at your cursor position, not as a new note.
- Block-based approach: Templates represent content blocks, not entire pages
- Multiple templates per note: Use several templates to build different sections of the same note
- Standard markdown files: Templates are regular
.mdfiles you can edit with any text editor - Instant insertion: Template content appears immediately at your cursor location
Creating Templates
Navigate to template creation through these methods:
- Click the Templates icon in the sidebar to open the Templates view
- Press
New template
When creating a template:
- Give it a descriptive name that explains its purpose
- Include any markdown formatting, headers, lists, or task structures
- Add placeholder text where variable content will go
Template Variables
Templates support inline variables that get replaced when the template is inserted or used to create a new note. Variables use double curly braces and can include an optional format for dates and times.
Available variables:
{{title}}: Current note title (filename without.md){{date}}: Current date inyyyy-MM-dd{{date:FORMAT}}: Current date with a custom date-fns format{{time}}: Current time inHH:mm{{time:FORMAT}}: Current time with a custom date-fns format
Format for date and time need to be in accordance with date-fns syntax. Please read about them in their documentation
Example:
# {{title}}
Created: {{date:MMMM d, yyyy}} at {{time}}
Variables work in template body content, and they also resolve in template frontmatter when you create a new note from a template.
Using Templates

Apply templates to your notes using these methods:
- On an empty line, press
/and search for your template name
The template content inserts at your current cursor position. You can then edit the inserted content as needed, replacing placeholders with actual information.
Creating notes from templates
Create a new note with content from a template pre-populated by using CMD/Ctrl + K and choose the Create note from template command with your template selected.
Any property assigned to the template is also applied to the new note.
Name and folder for new notes
A template can decide where notes created from it are saved and what they are called. Open the template, and use the bar under its title, which reads New notes go to:
- Click the folder chip to choose the Folder for new notes. Search for a folder, or type a path such as
Meetings/{{date:yyyy}}to file notes into dated folders. Without one, notes go to your default folder. - Click the name chip to set the Name for new notes, such as
{{date}} - Weekly Meeting. The popover lists the variables you can use and previews the resulting name.
Both accept the {{date}} and {{time}} variables and their formats. {{title}} isn't available, since the name is what creates the title. Hover the bar and click the x to reset both.
Octarine stores these settings in the template's frontmatter as oct.folder and oct.filename:
---
oct.filename: "{{date}} - Weekly Meeting"
oct.folder: "Meetings/{{date:yyyy}}"
---
They apply when you use Create note from template and to octarine://create links that use the template. They are never copied into the notes you create, and they are ignored when the template is inserted into an existing note or used for daily and weekly notes.
Template name and folder settings are a Pro feature. Without a license, the bar shows a Pro badge and notes are created with the usual name and folder.
Quick Answers
Where are Octarine templates stored?
Templates are Markdown files stored in the .templates folder inside your workspace.
Do templates create whole notes or insert blocks?
Templates can be inserted as reusable content blocks, and they can also pre-populate new notes through the Create note from template command.
Can Octarine templates use variables?
Yes. Templates support variables like {{title}}, {{date}}, {{time}}, and formatted date or time values.
Can a template choose where new notes are saved?
Yes, with Pro. Open the template and set the folder and name in the New notes go to bar under its title. Notes created with Create note from template use them, and folder paths and names can include {{date}} variables.