Skip to content

Commit 3e70d11

Browse files
tomquirkphanan
authored andcommitted
Add link from docs to v-html directive (vuejs#2394)
1 parent ef6d67b commit 3e70d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/guide/syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can also perform one-time interpolations that do not update on data change b
3030

3131
### Raw HTML
3232

33-
The double mustaches interprets the data as plain text, not HTML. In order to output real HTML, you will need to use the `v-html` directive:
33+
The double mustaches interprets the data as plain text, not HTML. In order to output real HTML, you will need to use the [`v-html` directive](../api/#v-html):
3434

3535
``` html
3636
<p>Using mustaches: {{ rawHtml }}</p>
@@ -60,7 +60,7 @@ The contents of the `span` will be replaced with the value of the `rawHtml` prop
6060

6161
### Attributes
6262

63-
Mustaches cannot be used inside HTML attributes. Instead, use a [v-bind directive](../api/#v-bind):
63+
Mustaches cannot be used inside HTML attributes. Instead, use a [`v-bind` directive](../api/#v-bind):
6464

6565
``` html
6666
<div v-bind:id="dynamicId"></div>

0 commit comments

Comments
 (0)