diff --git a/src/guide/template-syntax.md b/src/guide/template-syntax.md index 25a15fcf3b..ca460876c0 100644 --- a/src/guide/template-syntax.md +++ b/src/guide/template-syntax.md @@ -64,8 +64,11 @@ The `disabled` attribute will be included if `isButtonDisabled` has a truthy val So far we've only been binding to simple property keys in our templates. But Vue.js actually supports the full power of JavaScript expressions inside all data bindings: ```html -{{ number + 1 }} {{ ok ? 'YES' : 'NO' }} {{ message.split('').reverse().join('') -}} +{{ number + 1 }} + +{{ ok ? 'YES' : 'NO' }} + +{{ message.split('').reverse().join('') }}
```