Skip to content

Commit

Permalink
clearer docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Mar 24, 2021
1 parent 0a6525e commit 1e38123
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xbarapp.com/articles/2021/03/14/Variables-in-xbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ To define variables for your plugin, use `xbar.var` tags.
```

* `type` - the kind of field (can be `string`, `number`, `boolean`, or `list`)
* `VAR_NAME` - the name of the variable (will become an environment variable when the plugin runs)
* * If you prefix your variable name with `VAR_` xbar will nicely format the variable label in the UI
* `VAR_NAME` - the name of the variable (will become an environment variable when the plugin runs). If you prefix your variable name with `"VAR_"`, xbar will nicely format the variable label in the UI
Prefix names with `VAR_` and use underscores for spaces
* `default` - the default/initial value for this variable
* `description` - a short label describing the variable
Expand Down

0 comments on commit 1e38123

Please sign in to comment.