Files
plainleaf/website/Library/Journal.md
T
MrMugameandGitHub 9ed493aa00 Makes the behaviour of logic expressions consistent in all cases (#898)
* Returned the value of a logic expression in all cases

* Remove legacy call syntax

* Correct test

* Remove old call syntax from docs/library

* Corrected docs for call syntax

* Add null coalescing operator
2024-07-02 19:12:40 +02:00

783 B
Raw Blame History

This library contains some useful page templates for journalers. Want to easily create a daily or weekly note? These templates can get you started. Instantiate them via {[Page: From Template]}.

Installation

To import this library, run the {[Library: Import]} command in your SilverBullet space and enter:

!silverbullet.md/Library/Journal/

Included templates

page
where name =~ /^{{escapeRegexp(@page.name)}}\//
render [[Library/Core/Query/Page]]

Tips

Do you want your space’s start page to always be either your daily or weekly note? You can!

To set the daily note as the default page, set the following in SETTINGS:

indexPage: "Journal/Day/{{today}}"

And for the weekly note:

indexPage: "Journal/Week/{{weekStart}}"