this post was submitted on 26 Jun 2023
4 points (83.3% liked)
ObsidianMD
3764 readers
1 users here now
Unofficial Lemmy community for https://obsidian.md
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use the plugins CustomJS, Dataview, and Templater to make this daily journal entry.
A few notes about this template:
alias
in the format of "Mon June 26 2023" so it's easier for me to search for specific day later\
so this all displays in a single code block, don't include these when using a template in obsidianThis is the code for showing the previous and next days, but only if they are created. So if you have June 26 and are on that note, but you don't have the 25th or 27th created but you do have the 24th created, it will display something like this
← 2023-06-24 | 2023-W26 | (none) →
with the middle one here being the week.I took this dataviewjs code I found from the obsidian forums and modified it slightly: