silverbullet/website/Library/Core.md

28 lines
939 B
Markdown
Raw Normal View History

2024-07-08 14:02:10 +08:00
This library is highly recommended for everybody to import immediately. It provides a lot of functionality youll likely appreciate.
Some examples:
2024-07-08 14:02:10 +08:00
* [[Table of Contents]]
* [[Linked Mentions]]
* [[Linked Tasks]]
* 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]].
# Installation
To import this library, run the {[Library: Import]} command in your SilverBullet space and enter:
!silverbullet.md/Library/Core/
# Included templates
```query
template
where name =~ /^{{escapeRegexp(@page.name)}}\//
render [[Library/Core/Query/Template]]
```
# Included utility pages
```query
page
where name =~ /^{{escapeRegexp(@page.name)}}\// and tags != "template"
render [[Library/Core/Query/Page]]
```