Skip to content

[Feature]: Daily note calendar integration with template variables #393

@CodeWithInferno

Description

@CodeWithInferno

Problem

When creating daily notes, users have to manually check their calendar and copy events. The daily note doesn't automatically include the day's schedule.

Solution

Add calendar template variables for daily notes.

Template Variables

  • {{calendar:today}} - List of today's events
  • {{calendar:tomorrow}} - Tomorrow's events
  • {{calendar:week}} - This week's events
  • {{calendar:agenda}} - Next N upcoming events
  • {{calendar:date:YYYY-MM-DD}} - Specific date's events

Example Daily Note Template

# {{date:dddd, MMMM D, YYYY}}

## Today's Schedule
{{calendar:today}}

## Tasks Due Today
{{tasks:due_today}}

## Notes

## End of Day Review

Rendered Output

## Today's Schedule
- 09:00 - 10:00: Team Standup
- 14:00 - 15:00: 1:1 with Manager
- 16:00 - 17:00: Sprint Planning

Implementation Tasks

  • Add calendar variable parser to daily note template system
  • Implement {{calendar:today}} variable
  • Implement {{calendar:tomorrow}} variable
  • Implement {{calendar:week}} variable
  • Implement {{calendar:agenda}} with configurable count
  • Add event formatting options (time format, include location, etc.)
  • Document new template variables

Priority

Medium - Would improve my workflow

Complexity

Simple - Small UI change or setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions