kdnk133 downloadsExpands sync-safe daily-note template expressions based on the note date.
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.
<% dnt... %> expressions in existing daily notes.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") %>
<% dnt.format("YYYY/MM/DD ddd") %>
<% dnt.format("YYYY/MM/DD dddd") %>
npm install
npm test
npm run lint
npm run build