Skip to content

Commit b845472

Browse files
authored
Update README.md
1 parent 4ba09a7 commit b845472

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,26 @@ Integrate Chart.js into Rails Asset Pipeline (current version is 2.5.0)
66

77
Add this line to your application's Gemfile:
88

9-
gem 'chart-js-rails'
9+
```ruby
10+
gem 'chart-js-rails'
11+
```
1012

1113
And then execute:
12-
13-
$ bundle
14+
```console
15+
$ bundle
16+
```
1417

1518
Or install it yourself as:
1619

17-
$ gem install chart-js-rails
20+
```console
21+
$ gem install chart-js-rails
22+
```
1823

1924
Add this to your application.js file:
20-
21-
//= require Chart
25+
26+
```javascript
27+
//= require Chart
28+
```
2229

2330
## Usage
2431

0 commit comments

Comments
 (0)