mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-09 07:33:39 +00:00
add language hints to code blocks
This commit is contained in:
@@ -12,7 +12,7 @@ The `string.create` processor creates a string based on the provided template. T
|
||||
|
||||
### Example
|
||||
This would create a string using the `Address` property of the incoming message like and OSC message
|
||||
```
|
||||
```yaml
|
||||
- type: string.create
|
||||
params:
|
||||
template: "{{.Address}}
|
||||
|
||||
@@ -9,6 +9,6 @@ The `string.decode` processor takes a array of bytes and turn it into string. Th
|
||||
- **type**: `string.decode`
|
||||
|
||||
### Example
|
||||
```
|
||||
```yaml
|
||||
- type: string.decode
|
||||
```
|
||||
@@ -9,6 +9,6 @@ The `string.encode` processor takes a string and turns it into an array of bytes
|
||||
- **type**: `string.encode`
|
||||
|
||||
### Example
|
||||
```
|
||||
```yaml
|
||||
- type: string.encode
|
||||
```
|
||||
@@ -12,7 +12,8 @@ The `string.split` processor takes a string and turns it into an array of string
|
||||
|
||||
### Example
|
||||
Split incoming string on `,` i.e `"one,two,three"` -> `["one","two","three"]`
|
||||
```
|
||||
|
||||
```yaml
|
||||
- type: string.split
|
||||
params:
|
||||
separator: ","
|
||||
|
||||
Reference in New Issue
Block a user