Add environment example

This commit is contained in:
Bryan Ashby 2020-06-17 19:53:23 -06:00
parent e1091ea115
commit c1d082ef80
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 18 additions and 0 deletions

View File

@ -93,6 +93,24 @@ Below is a table of the various forms:
:information_source: An unresolved or invalid @environment will be left intact.
Consider the following fragment:
```hjson
{
foo: {
bar: @environment:BAR_VAR:number
}
}
```
If the environment has `BAR_VAR=1337`, this would produce:
```hjson
{
foo: {
bar: 1337
}
}
```
## See Also
* [System Configuration](config-hjson.md)
* [Menu Configuration](menu-hjson.md)