Add a home
code block to display links to today and this week journal entries
#96
+149
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey Sergii, love your plugin, been using it since a couple month to replace the Obsidian core one and Periodic plugin.
I use a Home note in Obsidian which I use to navigate more than sidebars (I have them collapsed by defaault).
I also had a "Today" and "This week" links on my home note to quickly access the corresponding notes.
Since I replaced the old plugins with yours, I had lost the ability to create a direct link to these journal entries, so I added a code block that adds back these features.
The
home
code block provides quick navigation links to today's note and/or the current week's note. It's a simple way to add navigation shortcuts to any note in your vault.Usage
Basic usage showing just today's link:
Show both today and week links:
Features
This way, I was able to add back the links into my home note, of course anyone can add the links on any page (they don't have to be connected to a journal) for quick access.