Skip to content

Commit ee51824

Browse files
skirtles-codenaokie
authored andcommitted
fix: adjust the line breaks in a template syntax example (#790)
1 parent 61441d7 commit ee51824

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
@@ -69,8 +69,11 @@ Mustache は、HTML 属性の内部で使用することはできません。代
6969
これまで、テンプレートに単純なキーをバインディングしてきました。実際には Vue.js は全てのデータバインディング内部で JavaScript 式を完全にサポートします:
7070

7171
```html
72-
{{ number + 1 }} {{ ok ? 'YES' : 'NO' }} {{ message.split('').reverse().join('')
73-
}}
72+
{{ number + 1 }}
73+
74+
{{ ok ? 'YES' : 'NO' }}
75+
76+
{{ message.split('').reverse().join('') }}
7477

7578
<div v-bind:id="'list-' + id"></div>
7679
```

0 commit comments

Comments
 (0)