Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Daily Note Template

kdnkkdnk168 downloads

Expands sync-safe daily-note template expressions based on the note date.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates9

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.

Template updates use Obsidian's atomic vault processing so edits saved during the initial read are preserved. Disabling the plugin cancels queued work and prevents pending reads from starting template writes.

Daily-note paths support YYYY, MM / M, DD / D, and English ddd / dddd weekday names. Formats can repeat date fields, such as YYYY/MM/YYYY-MM-DD for year/month folders. Repeated fields must agree; paths with conflicting fields or invalid dates are ignored.

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") %>
<% dnt.format("YYYY/MM/DD ddd") %>
<% dnt.format("YYYY/MM/DD dddd") %>

Development

npm install
npm test
npm run lint
npm run build
HealthExcellent
ReviewPassed
About
Expand <% dnt... %> expressions inside existing daily notes, using Daily Notes settings to locate each note and the note path's date to evaluate expressions. Evaluate functions like today(), yesterday(), addDays/addWeeks/addMonths/addYears and format(...) immediately for visible notes without creating missing notes or applying full daily-note templates.
TemplatingDates
Details
Current version
1.1.0
Last updated
4 days ago
Created
3 months ago
Updates
9 releases
Downloads
168
Compatible with
Obsidian 1.5.7+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
kdnkkdnk
GitHubkdnk
  1. Community
  2. Plugins
  3. Templating
  4. Daily Note Template

Related plugins

Journals

Manage your journals.

Periodic Notes

Manage your daily, weekly, and monthly notes.

LifeOS

Life management system.

Calendar

Explore your daily notes.

Weread

Sync Tencent Weread highlights and annotations.

Persian Calendar

Persian Calendar for managing periodic notes based on persian solar (shamsi) calendar.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering. Maintained by Clare Macrae and Ilyas Landikov, created by Martin Schenck.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.

QuickAdd

Quickly add new notes or content to your vault.