From 5aefd13ead17f51cbe03865b637a5732dfa4e784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Melnarowicz?= <38347327+themeler@users.noreply.github.com> Date: Sat, 1 Dec 2018 15:51:29 +0100 Subject: [PATCH 1/2] Unify examples HTML formatting --- src/v2/guide/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/guide/index.md b/src/v2/guide/index.md index 69ccacf384..b176d13727 100644 --- a/src/v2/guide/index.md +++ b/src/v2/guide/index.md @@ -323,8 +323,8 @@ Now we can pass the todo into each repeated component using `v-bind`: - + v-bind:key="item.id" + > ``` From ffab7b834b220b8c59a85609cb4a7bda64fa4b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Melnarowicz?= <38347327+themeler@users.noreply.github.com> Date: Sat, 1 Dec 2018 15:58:12 +0100 Subject: [PATCH 2/2] Unify examples HTML formatting --- src/v2/guide/class-and-style.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/v2/guide/class-and-style.md b/src/v2/guide/class-and-style.md index 5db43bbab3..2c40d5033c 100644 --- a/src/v2/guide/class-and-style.md +++ b/src/v2/guide/class-and-style.md @@ -21,9 +21,10 @@ The above syntax means the presence of the `active` class will be determined by You can have multiple classes toggled by having more fields in the object. In addition, the `v-bind:class` directive can also co-exist with the plain `class` attribute. So given the following template: ``` html -
-
+
``` And the following data: