Files
plainleaf/website/CONFIG.md
T
Zef Hemel 2ac30edb2f Update configuration documentation and remove deprecated templates
- Enhanced the `Config.md` documentation to clarify built-in configuration options and the use of the `config.set` API.
- Removed outdated `Page Template.md` and `Slash Template.md` files to streamline documentation and avoid confusion.
- Updated references in various documentation files to reflect the removal of deprecated templates and ensure consistency across the site.
2025-04-17 11:55:09 +02:00

49 lines
1.0 KiB
Markdown

This is where you configure SilverBullet to your liking. See [[^Library/Std/Config]] for a full list of configuration options.
```space-lua
config.set {
plugs = {
"github:joekrill/silverbullet-treeview/treeview.plug.js"
},
actionButtons = {
{
icon = "home",
command = "Navigate: Home",
description = "Go to the index page"
},
{
icon = "activity",
description = "What's new",
command = "Navigate: To Page",
args = {"CHANGELOG"}
},
{
icon = "message-circle",
description = "Community",
command = "Navigate: To URL",
args = {"https://community.silverbullet.md"}
},
{
icon = "book",
command = "Navigate: Page Picker",
description = "Open page"
},
{
icon = "terminal",
command = "Open Command Palette",
description = "Run command"
}
},
smartQuotes = {
enabled = true,
},
shortcuts = {
{
command = "Stats: Show",
key = "Ctrl-Shift-s",
slashCommand = "stats"
}
}
}
```