README file from
GithubDiary Linker
Diary Linker adds a calendar view for your daily notes and keeps month/year/root notes linked together. Click a day to open (or create) the note for that date.
What it does
- Adds a Diary calendar view with month navigation and a Today button.
- Creates a structured diary hierarchy:
<Diary folder>/<year>/<month>/<day>.md. - Ensures parent links are present:
- root note → year note → month note → day note
- Uses a template note from your
Templates/folder and replaces placeholders.
How to use
- Enable the plugin.
- Open Settings → Community plugins → Diary Linker.
- Set Diary folder (default:
Diary). - Choose a template note from your
Templates/folder. - Run the command Open diary calendar.
- Click a date to open or create the note.
The plugin also opens the calendar view automatically on startup.
Template placeholders
Your template note must include {{diary-link}}. The plugin replaces it with a link to the parent note.
Additional supported placeholders:
{{title}}→ note title (filename without.md){{date}}→ day number (01..31){{time}}→ current time (HH:mm)
Example template:
# {{title}}
Created at {{time}}
{{diary-link}}
Commands
- Open diary calendar: Opens the calendar view.
Settings
- Diary folder: Root folder for diary notes (default:
Diary). - Template note: A note inside the
Templates/folder. Must include{{diary-link}}.
Privacy
- No network requests.
- No telemetry or analytics.
- Only reads/writes inside your vault.
Development
npm install
npm run dev
Build
npm run build
Manual install
Copy these files to <Vault>/.obsidian/plugins/diary-linker/:
main.jsmanifest.jsonstyles.css
License
MIT