Ludrol@szmer.info to ObsidianMD@lemmy.world · 1 year agoDoes anyone have a collection of templates for daily notes?message-squaremessage-square1fedilinkarrow-up16arrow-down11file-text
arrow-up15arrow-down1message-squareDoes anyone have a collection of templates for daily notes?Ludrol@szmer.info to ObsidianMD@lemmy.world · 1 year agomessage-square1fedilinkfile-text
I would like to make a template but I would like to see some examples of what is possible to achieve.
minus-squareMichelle@sh.itjust.workslinkfedilinkarrow-up3·1 year agoI use the plugins CustomJS, Dataview, and Templater to make this daily journal entry. A few notes about this template: The file name is YYYY-MM-DD so I make an alias in the format of “Mon June 26 2023” so it’s easier for me to search for specific day later I use CustomJS to import my dataviewjs files to display the previous and next days, any birthdays for today, and any backlinks to this journal entry I used \ so this all displays in a single code block, don’t include these when using a template in obsidian --- aliases: <% tp.date.now("ddd MMMM D YYYY", 0, tp.file.title, "YYYY-MM-DD") %> title: day: <% tp.file.title %> --- \```dataviewjs const {PreviousNextDay} = customJS PreviousNextDay.display(dv) \``` --- # <% tp.date.now("ddd MMMM D YYYY", 0, tp.file.title, "YYYY-MM-DD") %> \```dataviewjs const {Birthdays} = customJS Birthdays.display(dv) \``` \```dataviewjs const {Backlinks} = customJS Backlinks.display(dv) \``` ## Journal
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 obsidian--- aliases: <% tp.date.now("ddd MMMM D YYYY", 0, tp.file.title, "YYYY-MM-DD") %> title: day: <% tp.file.title %> --- \```dataviewjs const {PreviousNextDay} = customJS PreviousNextDay.display(dv) \``` --- # <% tp.date.now("ddd MMMM D YYYY", 0, tp.file.title, "YYYY-MM-DD") %> \```dataviewjs const {Birthdays} = customJS Birthdays.display(dv) \``` \```dataviewjs const {Backlinks} = customJS Backlinks.display(dv) \``` ## Journal