Skip to content

Commit

Permalink
Vue code chunks syntax highlighting fix (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
Igloczek authored and quinnlangille committed Sep 4, 2018
1 parent 839ec44 commit 8eb0b00
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {

Once the **Carousel** and **Slide** components are installed globally or imported, they can be used in templates in the following manner:

``` html
``` vue
<carousel :per-page="1" :navigate-to="someLocalProperty" mouse-drag="false">
<slide>
Slide 1 Content
Expand All @@ -105,7 +105,7 @@ Once the **Carousel** and **Slide** components are installed globally or importe

To listen for the 'slideClick' event you can do the following:

``` html
``` vue
<carousel>
<slide
data-index="0"
Expand All @@ -116,7 +116,8 @@ To listen for the 'slideClick' event you can do the following:
...
</carousel>
```
```

``` js
handleSlideClick (dataset) => {
console.log(dataset.index, dataset.name)
}
Expand Down

0 comments on commit 8eb0b00

Please sign in to comment.