Note in README that substitutions don’t work inside quotes (#634)

* Note in README that substitutions don’t work inside quotes

There’s more on this in HOCON.md but can’t hurt to repeat, people do miss it.
This commit is contained in:
Havoc Pennington 2019-05-23 07:11:22 -04:00 committed by Martynas Mickevičius
parent 46daf99ac4
commit 8fc33c856d

View File

@ -706,9 +706,12 @@ string `foo` are concatenated into a string `42 foo`:
When concatenating values into a string, leading and trailing
whitespace is stripped but whitespace between values is kept.
Unquoted strings also support substitutions of course:
Quoted or unquoted strings can also concatenate with substitutions of course:
tasks-url : ${base-url}/tasks
tasks-url : ${base-url}"tasks:colon-must-be-quoted"
Note: the `${}` syntax must be outside the quotes!
A concatenation can refer to earlier values of the same field: