2023-02-28 18:13:24 +08:00
This page contains settings for configuring SilverBullet and its Plugs. Changing any of these in most cases will go into effect immediately, except for `indexPage` which requires a reload.
2022-10-12 17:47:13 +08:00
2022-08-02 19:26:04 +08:00
```yaml
2023-02-28 18:13:24 +08:00
# Initial page to load when launching SB
2023-08-18 02:27:05 +08:00
indexPage: "[[SilverBullet]]"
2023-02-28 18:13:24 +08:00
2023-08-28 21:52:39 +08:00
# Load custom CSS styles from the following page, can also be an array
2023-08-18 02:27:05 +08:00
customStyles: "[[STYLES]]"
2023-07-02 20:48:27 +08:00
2023-02-28 18:13:24 +08:00
# Template related settings
pageTemplatePrefix: "template/page/"
snippetPrefix: "snippet/"
quickNotePrefix: "📥 "
dailyNotePrefix: "📅 "
2023-08-18 02:27:05 +08:00
dailyNoteTemplate: "[[template/page/Daily Note]]"
2023-02-28 18:13:24 +08:00
weeklyNotePrefix: "🗓️ "
2023-08-18 02:27:05 +08:00
weeklyNoteTemplate: "[[template/page/Weekly Note]]"
2023-02-28 18:13:24 +08:00
weeklyNoteMonday: false
# Markdown
previewOnRHS: true
2023-05-29 15:53:49 +08:00
# Defines files to ignore in a format compatible with .gitignore
spaceIgnore: |
dist
largefolder
*.mp4
2023-08-21 01:54:31 +08:00
# Plug overrides allow you to override any property in a plug manifest at runtime
# The primary use case of this is to override or define keyboard shortcuts. You can use the . notation, to quickly "dive deep" into the structure
plugOverrides:
2023-12-14 00:52:56 +08:00
editor:
2023-08-21 01:54:31 +08:00
# Matching this YAML structure:
2023-08-28 23:12:15 +08:00
# https://github.com/silverbulletmd/silverbullet/blob/main/plugs/editor/editor.plug.yaml
2023-08-21 01:54:31 +08:00
# and overriding the "key" for centering the cursor
functions.centerCursor.command.key: Ctrl-Alt-p
2022-10-12 17:47:13 +08:00
```