Update README.md

This commit is contained in:
Ziang Song 2014-07-17 10:27:53 -04:00
commit 37eacae083

View file

@ -50,4 +50,17 @@ console.log(result);
SYNTAX ERROR will be thrown if the input string contains non-matching curly brackets.
```
* Use **` (grave accent symbol)** to escape key-value interpolation
```javascript
var input = "The quick brown `%{f} jumps over the lazy %{d}.";
var data_obj = {"f": "fox", "d": "dog"};
var result = Kiwi.compose(input, data_obj);
console.log(result);
//Output: The quick brown %{f} jumps over the lazy dog.
```