Skip to content

Instantly share code, notes, and snippets.

@smaboshe
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save smaboshe/aa9112d3e5f1242e891f to your computer and use it in GitHub Desktop.
Save smaboshe/aa9112d3e5f1242e891f to your computer and use it in GitHub Desktop.
Variable substitution doesn't work inside a YAML block
# Variable substitution works here
foo: "The quick brown %{ animal } jumped over the lazy dog"
# Variable substitution done not work here
# Instead, "%{ animal }" gets rendered
bar: |
The quick
brown %{ animal }
jumped over
the lazy dog
# What syntax should be used in the block for the substitution to work?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment