Files
plainleaf/website/CONFIG.md
T
Marek S. ŁukasiewiczandGitHub 10e7cea08d Order strings in queries using collation algorithm (#1391)
Configurable with queryCollation, default value maintains old behaviour.
Added tests, schema, example settings, and documentation to query page.

Close: #614
Close: #1316
2025-05-10 17:06:45 +02:00

1.1 KiB

This is where you configure SilverBullet to your liking. See ^Library/Std/Config for a full list of configuration options.

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"
    }
  },
  queryCollate = {
    enabled = true,
    locale = "en",
    options = {
      caseFirst = "upper"
    }
  }
}