silverbullet/website/Library/Core.md

1.0 KiB
Raw Permalink Blame History

This library is highly recommended for everybody to import. It provides a lot of basic functionality in SilverBullet that youll appreciate.

Some examples:

Installation

In your SETTINGS list the following under libraries:

libraries:
- import: "[[!silverbullet.md/Library/Core/*]]"

Then run the {[Libraries: Update]} command to install it.

See Libraries#Configuring libraries for more details.

Included templates

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

Included utility pages

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