2024-07-12 02:36:26 +08:00
|
|
|
|
#meta
|
2024-07-16 21:48:49 +08:00
|
|
|
|
|
2024-08-02 22:47:36 +08:00
|
|
|
|
This page contains configuration of SilverBullet and its plugs. Some of these changes will go into effect immediately, some require a page reload.
|
2022-10-12 17:47:13 +08:00
|
|
|
|
|
2024-08-04 17:39:37 +08:00
|
|
|
|
```space-config
|
2024-01-21 02:16:07 +08:00
|
|
|
|
# Initial page to load when launching SB, can contain template variables
|
2023-08-18 02:27:05 +08:00
|
|
|
|
indexPage: "[[SilverBullet]]"
|
2024-07-12 02:36:26 +08:00
|
|
|
|
libraries:
|
|
|
|
|
# The "Core" library is recommended for all users
|
2024-07-16 21:48:49 +08:00
|
|
|
|
- import: "[[!silverbullet.md/Library/Core/*]]"
|
2024-07-12 02:36:26 +08:00
|
|
|
|
# You can exclude items from the import using exclude (also supports wildcards):
|
2024-08-15 22:39:17 +08:00
|
|
|
|
#exclude:
|
|
|
|
|
# - "[[!silverbullet.md/Table of Contents]]"
|
|
|
|
|
# - "[[!silverbullet.md/Library/Core/Widget/*]]""
|
2023-02-28 18:13:24 +08:00
|
|
|
|
|
2024-07-12 02:36:26 +08:00
|
|
|
|
## UI TWEAKS
|
2024-01-25 18:42:36 +08:00
|
|
|
|
# Hide the sync button
|
|
|
|
|
hideSyncButton: false
|
2024-07-05 03:22:37 +08:00
|
|
|
|
# Hide the edit button (available on mobile only)
|
|
|
|
|
hideEditButton: true # defaults to 'false'
|
2024-01-25 18:42:36 +08:00
|
|
|
|
|
2024-07-23 22:49:27 +08:00
|
|
|
|
# In PWA mode, SilverBullet automatically reopens the last opened page on boot, this can be disabled
|
|
|
|
|
pwaOpenLastPage: true
|
|
|
|
|
|
2024-01-25 18:42:36 +08:00
|
|
|
|
# Configure the shown action buttons (top right bar)
|
2024-02-06 21:07:38 +08:00
|
|
|
|
actionButtons:
|
2024-01-26 16:17:01 +08:00
|
|
|
|
- icon: home # Use any icon from https://feathericons.com
|
2024-01-25 18:42:36 +08:00
|
|
|
|
command: "{[Navigate: Home]}"
|
|
|
|
|
description: "Go to the index page"
|
2024-01-26 16:17:01 +08:00
|
|
|
|
- icon: activity
|
2024-01-25 18:42:36 +08:00
|
|
|
|
description: "What's new"
|
|
|
|
|
command: '{[Navigate: To Page]("CHANGELOG")}'
|
2024-02-03 02:19:07 +08:00
|
|
|
|
- icon: message-circle
|
|
|
|
|
description: "Community"
|
|
|
|
|
command: '{[Navigate: To URL]("https://community.silverbullet.md")}'
|
2024-01-26 16:17:01 +08:00
|
|
|
|
- icon: book
|
2024-01-25 18:42:36 +08:00
|
|
|
|
command: "{[Navigate: Page Picker]}"
|
|
|
|
|
description: Open page
|
2024-01-26 16:17:01 +08:00
|
|
|
|
- icon: terminal
|
2024-01-25 18:42:36 +08:00
|
|
|
|
command: "{[Open Command Palette]}"
|
|
|
|
|
description: Run command
|
2024-07-07 00:34:18 +08:00
|
|
|
|
#- icon: arrow-left
|
|
|
|
|
# command: "{[Navigate: Back in History]}"
|
|
|
|
|
# description: "Go to the previous page"
|
|
|
|
|
# mobile: true # Only show on mobile devices, set to false to show only on desktop
|
2024-01-25 18:42:36 +08:00
|
|
|
|
|
2024-07-15 01:57:06 +08:00
|
|
|
|
# Create keyboard or slash command shortcuts for commands
|
2023-12-27 15:14:57 +08:00
|
|
|
|
shortcuts:
|
2024-07-15 01:57:06 +08:00
|
|
|
|
# Map a key to a command
|
|
|
|
|
- command: "{[Navigate: Center Cursor]}"
|
2024-01-02 20:47:50 +08:00
|
|
|
|
key: "Alt-x"
|
2024-07-15 01:57:06 +08:00
|
|
|
|
# Map a slash command (e.g. `/indent`) to a command
|
|
|
|
|
- command: "{[Outline: Move Right]}"
|
|
|
|
|
slashCommand: "indent"
|
|
|
|
|
# Bump a command's priority in the command palette
|
2024-01-02 20:47:50 +08:00
|
|
|
|
- command: "{[Upload: File]}"
|
2024-07-15 01:57:06 +08:00
|
|
|
|
priority: 1
|
2023-02-28 18:13:24 +08:00
|
|
|
|
|
2024-10-09 03:06:33 +08:00
|
|
|
|
# Choose which characters to auto-close
|
|
|
|
|
autoCloseBrackets: "([{`"
|
2024-10-18 04:34:47 +08:00
|
|
|
|
# Options for “smart” ‘quotes’ (left and right) used outside of code fragments, these are the defaults:
|
|
|
|
|
smartQuotes:
|
|
|
|
|
enabled: true # Set to false for "simple" 'quotes' (good ol' ASCII)
|
|
|
|
|
double:
|
|
|
|
|
left: '“'
|
|
|
|
|
right: '”'
|
|
|
|
|
single:
|
|
|
|
|
left: "‘"
|
|
|
|
|
right: "’"
|
2024-07-20 01:08:49 +08:00
|
|
|
|
|
2023-05-29 15:53:49 +08:00
|
|
|
|
# Defines files to ignore in a format compatible with .gitignore
|
|
|
|
|
spaceIgnore: |
|
|
|
|
|
dist
|
|
|
|
|
largefolder
|
|
|
|
|
*.mp4
|
2023-12-22 20:22:25 +08:00
|
|
|
|
|
2024-03-28 04:21:12 +08:00
|
|
|
|
# Defines the maximum size of a file you can upload to the space (in MiB)
|
|
|
|
|
maximumAttachmentSize: 10
|
|
|
|
|
|
2024-02-06 21:07:38 +08:00
|
|
|
|
# Add alternative names to emoji picker
|
|
|
|
|
emoji:
|
|
|
|
|
aliases:
|
|
|
|
|
smile: 😀
|
|
|
|
|
sweat_smile: 😅
|
2022-10-12 17:47:13 +08:00
|
|
|
|
```
|