Caution!
It is always a good practice to check the code-snippet and see what you're running. Although I personally use this, if you use it, use at your own risk.
You need to have Dataview plugin installed and also "Enable JavaScript Queries" enabled.
- Download the
dailyNav.js
file here and put it somewhere in your vault (i.e.<YOUR_VALULT>/scripts/dailyNav.js
). - If you are using date-format different from
YYYY-MM-DD
for your Daily notes, you need to adjust date-formate inrelativeLink
fuction in the js file to output accordingly.
Where you need to have the Previous/Next Day links (i.e. somewhere in Daily note template), use the snippet below:
```dataviewjs
dv.view('scripts/dailyNav');
```