2024-07-12 02:36:26 +08:00
|
|
|
|
This library is highly recommended for everybody to import. It provides a lot of basic functionality in SilverBullet that you’ll appreciate.
|
2024-01-21 02:16:07 +08:00
|
|
|
|
|
2024-01-22 16:53:39 +08:00
|
|
|
|
Some examples:
|
2024-07-08 14:02:10 +08:00
|
|
|
|
* [[Table of Contents]]
|
|
|
|
|
* [[Linked Mentions]]
|
|
|
|
|
* [[Linked Tasks]]
|
2024-01-21 02:16:07 +08:00
|
|
|
|
* All the slash commands you know and love, ranging from `/h1` to `/task` to `/table` to `/code` to `/query` to `/template` to `/today` to...
|
2024-01-21 06:16:12 +08:00
|
|
|
|
* Some useful general purpose pages such as [[Library/Core/Page/Maintenance]], [[Library/Core/Quick Notes]] and [[Library/Core/Page/Template Index]].
|
2024-01-21 02:16:07 +08:00
|
|
|
|
|
|
|
|
|
# Installation
|
2024-07-12 02:36:26 +08:00
|
|
|
|
In your [[SETTINGS]] list the following under `libraries:`
|
|
|
|
|
```yaml
|
|
|
|
|
libraries:
|
2024-07-16 21:48:49 +08:00
|
|
|
|
- import: "[[!silverbullet.md/Library/Core/*]]"
|
2024-07-12 02:36:26 +08:00
|
|
|
|
```
|
|
|
|
|
Then run the {[Libraries: Update]} command to install it.
|
2024-01-21 02:16:07 +08:00
|
|
|
|
|
2024-07-12 02:36:26 +08:00
|
|
|
|
See [[Libraries#Configuring libraries]] for more details.
|
2024-01-21 02:16:07 +08:00
|
|
|
|
|
|
|
|
|
# Included templates
|
|
|
|
|
```query
|
|
|
|
|
template
|
2024-07-03 01:12:40 +08:00
|
|
|
|
where name =~ /^{{escapeRegexp(@page.name)}}\//
|
2024-01-21 02:16:07 +08:00
|
|
|
|
render [[Library/Core/Query/Template]]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Included utility pages
|
|
|
|
|
```query
|
|
|
|
|
page
|
2024-07-03 01:12:40 +08:00
|
|
|
|
where name =~ /^{{escapeRegexp(@page.name)}}\// and tags != "template"
|
2024-01-21 02:16:07 +08:00
|
|
|
|
render [[Library/Core/Query/Page]]
|
|
|
|
|
```
|