Navigate between daily, weekly, monthly, quarterly, and yearly notes effortlessly with Templater.
This repository contains two sets of templates:
Template | Description |
---|---|
template/ |
Includes additional features |
template-simple/ |
Includes only the barebone, easier to read and tinker with |
- Remove duplicated links in month-crossing-weeks, credits to @PhyberApex
- Customize filename format (planned)
- Customize link display text (planned)
Install plugins via Community plugins tab.
- Periodic Notes
- Templater
- Calendar plugin (optional)
- Copy the templates in
template/
ortemplate-simple/
to your vault - Goto Templater settings, enable
Trigger Templater on new file creation
- Goto Periodic Note settings, change template settings to use your template files
Alternatively, you can copy the contents to your existing templates.
Clicking on the calender provided by Calendar plugin, or run Periodic Notes' command will insert the templates automatically:
Periodic Notes: Open daily note
Periodic Notes: Open weekly note
Periodic Notes: Open yearly note
Periodic Notes: Open monthly note
Periodic Notes: Open quarterly note
The template uses default filenames formats for periodic notes, if you are using customized filename formats, modify the template accordingly.
Note | Filename format |
---|---|
Daily | YYYY-MM-DD |
Weekly | gggg-[W]ww |
Monthly | YYYY-MM |
Quarterly | YYYY-[Q]Q |
Yearly | YYYY |
Refer to the Templater documentation and Moment.js documentation for further customization.
If you follow links to future notes, Periodic Notes will not get triggered, result in a blank note in your default location.
To fix this, use Filename Templates to insert templates by filename, and put this snippet in front of your periodic templates:
<%*
await tp.file.move(`path/to/periodic/notes/${tp.file.title}`);
-%>
This snippet will move your periodic notes to the path you specify, and voilà, you can now click through time freely, might as well disable Periodic Notes.