Browse Source

Doc EN `getters.md` : Add new line for consistency (#791)

* Add new line for consistency into getters.md

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>

* Add tick for consistency accross all Vue docs.

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
Bruno Lesieur 8 years ago
parent
commit
752dbc6e75
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/en/getters.md

+ 2 - 1
docs/en/getters.md

@@ -62,6 +62,7 @@ computed: {
 ```
 
 You can also pass arguments to getters by returning a function. This is particularly useful when you want to query an array in the store:
+
 ```js
 getters: {
   // ...
@@ -100,7 +101,7 @@ If you want to map a getter to a different name, use an object:
 
 ``` js
 ...mapGetters({
-  // map this.doneCount to store.getters.doneTodosCount
+  // map `this.doneCount` to `store.getters.doneTodosCount`
   doneCount: 'doneTodosCount'
 })
 ```