Skip to content

Commit

Permalink
Update docs/sources/reference/stdlib/yaml_decode.md
Browse files Browse the repository at this point in the history
Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
mattdurham and clayton-cornell authored May 25, 2024
1 parent 9dca0db commit 6c44f85
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/sources/reference/stdlib/yaml_decode.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ YAML.
A common use case of `yaml_decode` is to decode the output of a
[`local.file`][] component to an {{< param "PRODUCT_NAME" >}} value.

> Remember to escape double quotes when passing YAML string literals to `yaml_decode`.
>
> For example, the YAML value `key: "value"` is properly represented by the string `"key: \"value\""`.
{{< admonition type="note" >}}
Remember to escape double quotes when passing YAML string literals to `yaml_decode`.

For example, the YAML value `key: "value"` is properly represented by the string `"key: \"value\""`.
{{< /admonition >}}

## Examples

Expand Down

0 comments on commit 6c44f85

Please sign in to comment.