Daily Note Template

by kdnk
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Expands sync-safe daily-note template expressions based on the note date.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Daily Note Template

Daily Note Template expands DNT expressions in Obsidian daily notes.

It uses Obsidian's Daily notes settings to identify daily-note paths. Obsidian's Daily notes and Templates plugins remain responsible for creating notes and applying the normal note template.

  • It expands <% dnt... %> expressions in existing daily notes.
  • It does not create missing daily notes.
  • It does not apply the full Daily notes template to empty notes.
  • It never waits on Obsidian Sync before expanding visible DNT expressions.

Expressions

Expressions are evaluated relative to the date parsed from the target daily-note path.

For journals/2026-06-03.md:

<% dnt.today() %>
<% dnt.yesterday() %>
<% dnt.tomorrow() %>
<% dnt.addDays(7) %>
<% dnt.addWeeks(-1) %>
<% dnt.addMonths(1) %>
<% dnt.addYears(-1) %>
<% dnt.format("YYYY/MM/DD") %>

Development

npm install
npm test
npm run lint
npm run build