Skip to content

Commit 73a519f

Browse files
committed
README: update usage instructions
1 parent 1f62b5e commit 73a519f

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ This gem provides a [Jekyll](http://github.com/mojombo/jekyll) converter for
55

66
## Installation
77

8-
If using [Bundler](http://gembundler.com), add this line to your application's Gemfile:
8+
If using [Bundler](http://gembundler.com), add these lines to your application's Gemfile:
99

10-
gem 'jekyll-haml'
10+
```rb
11+
group :jekyll_plugins do
12+
gem 'jekyll-haml'
13+
end
14+
```
1115

12-
In a file within your Jekyll project's `_plugins` directory:
16+
Alternatively, if you don't use Bundler, just update your Jekyll project's `_config.yml`:
1317

14-
# _plugins/bundler.rb
15-
require "rubygems"
16-
require "bundler/setup"
17-
Bundler.require(:default)
18+
```yml
19+
gems:
20+
- jekyll-haml
21+
```
1822
1923
## Usage
2024

0 commit comments

Comments
 (0)