Can you expand a bit on this please? Do you have a formatting template set up or do you just add this daily template?

3 Likes

I need to do this for weekly notes. If you are offering :slight_smile: This is a great idea!

I added this to the daily template but also enabled the Trigger Templater on new file creation option in the Templater settings.

This way the info is added dynamically when I create the new note.

1 Like

I prefer to put things in Kanban. Something like this. Easy and straight forward.

2 Likes

I didn’t know Obsidian could do that. Is that a plugin you’re using?

1 Like

yeah, using kanban third-party plugin. You go to the community plugin section. Search for “kanban”. You will find the plugin.

1 Like

Awesome! I’m just starting a new semester, so I’ll give that a try. Any tips you have or quirks/oddities I should be aware of?

I copied this from @ryanjamurphy and it works well, just pasted it into my daily notes template:

← [[{{date-1d:YYYYMMDD}}]] [[{{date+1d:YYYYMMDD}}]] →
2 Likes

Nice. Do you manually replace the YYYYMMDD part with the appropriate dates on each note, or are you able to automate that somehow?

1 Like

I use a different approach now dude, but I’m pretty sure it populates if you have a few of the correct plugins. Maybe templater? Not sure, I’m green on this stuff :slight_smile:

1 Like

Ah, ok. I’ll poke around a bit and see if I can get it working. Thanks!

Templater lets you insert the correct previous/next dates for future days.

I think core now does yesterday and today. Not sure if that’s also for future days.

Hi @EleanorKonik , Thank you for these. Some of your ideas have completely changed the way I think! Very grateful.

I was playing around the CLI javascript to collate text from a specific heading in daily notes. And ran into multiple errors. I am a noob when it comes to any programming, so just thought I’d check if the script you’re using still works for you. Also, I know you said you might do a plugin at some point. Is this still on teh cards? Thank you again.

GitHub - eleanorkonik/concatenate: A plugin for Obsidian.md to allow you to put the contents of sections together in one file should work!

4 Likes

Thank you! Much appreciated.

Eleanor, thanks for sharing your expertise!

I’ve implemented this snippets to link today’s note to yesterday and tomorrow, it works well when linking to an already created note, for how I use these links typically this is the “yesterday” note. However when I click on “tomorrow” hence creating the new note, this doesn’t come with the expected template associated for daily note.

I have had this issue for so long that I now feel motivated to solve it :slight_smile: hope you can share some directions! thanks :pray:

If you’re using either the core Daily Notes plugin, or the Periodic Notes plugin, you can map hotkeys to “Open daily note”, “Open previous daily note”, and “Open next daily note”:

Using this command/hotkey will skip days you don’t have notes for. I don’t often write on weekends, so this is much more preferable to me than constantly updating broken links.

1 Like

I was referring to this snippet not working for uncreated note

← [[{{date-1d:YYYYMMDD}}]] [[{{date+1d:YYYYMMDD}}]] →

My bad. I read too fast and thought that you did not want to see the notes that were not created. AFAIK the only way to automatically use a template is with the Daily note or Zettelkasten plugin.
Some time ago there was lots of talk around a way to add a specific template to any new note, but if a plugin was ever developed, I don’t know of it.

Last thought, although it’s still a workaround - the calendar plugin, coupled with periodic notes, allows for a designated template to be used when clicking on a specific day. The nice thing is that the date parsing is done as if you were adding the note on the day you clicked, so things like your snippet would still work in the way you’d expect without modifying them manually.

---
<%*
const title = tp.file.title;
const yesterday = moment(title).subtract(1, 'days').format("YYYY-MM-DD");
const today = moment(title).format("YYYY-MM-DD");
const tomorrow = moment(title).add(1, 'days').format("YYYY-MM-DD");
-%>
---
# [[<% yesterday %>|←]] <% today %> [[<% tomorrow %>|→]]

This works with stuff like the Review plugin, I’m not sure if it’ll do exactly what you want, but it should get you closer.