You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Library/Std/Config.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
#meta
2
2
3
-
SilverBullet's configuration can be tweaked using the `config.set` Space Lua API. This page defines all built-in configurations available. Individual Plugs and Space Lua scripts may define their own.
3
+
SilverBullet's configuration can be tweaked using the `config.set` Space Lua API. This page defines all built-in
4
+
configurations available. Individual Plugs and Space Lua scripts may define their own.
4
5
5
6
# Built-in options
7
+
6
8
This defines the [JSON schema](https://json-schema.org/) for built-in configuration.
7
9
8
10
```space-lua
@@ -45,6 +47,10 @@ config.define("shortcuts", {
45
47
type = "string",
46
48
description = "Command we're creating the shortcut for"
47
49
},
50
+
args = {
51
+
type = "array",
52
+
description = "Optional array of arguments for the command"
0 commit comments