Skip to content

Commit 8a834fb

Browse files
fix: adjust the line breaks in a template syntax example (#790)
1 parent 50abc51 commit 8a834fb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/guide/template-syntax.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ The `disabled` attribute will be included if `isButtonDisabled` has a truthy val
6464
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:
6565

6666
```html
67-
{{ number + 1 }} {{ ok ? 'YES' : 'NO' }} {{ message.split('').reverse().join('')
68-
}}
67+
{{ number + 1 }}
68+
69+
{{ ok ? 'YES' : 'NO' }}
70+
71+
{{ message.split('').reverse().join('') }}
6972

7073
<div v-bind:id="'list-' + id"></div>
7174
```

0 commit comments

Comments
 (0)