Skip to content

Commit

Permalink
Update plugins.md
Browse files Browse the repository at this point in the history
Corrected display of installing options
  • Loading branch information
antonk52 committed Oct 9, 2015
1 parent bc3e67d commit 6cda306
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions site/_docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,24 @@ You have 3 options for installing plugins:
1. In your site source root, make a `_plugins` directory. Place your plugins
here. Any file ending in `*.rb` inside this directory will be loaded before
Jekyll generates your site.
2. * In your `_config.yml` file, add a new array with the key `gems` and the
2. In your `_config.yml` file, add a new array with the key `gems` and the
values of the gem names of the plugins you'd like to use. An example:

```rb

gems: [jekyll-test-plugin, jekyll-jsonify, jekyll-assets]
# This will require each of these gems automatically.
```
* Install your plugins using `gem install jekyll-test-plugin`
3. * Add the relevant plugins to a Bundler group in your `Gemfile`. An

Then install your plugins using `gem install jekyll-test-plugin jekyll-jsonify jekyll-assets`

3. Add the relevant plugins to a Bundler group in your `Gemfile`. An
example:

```rb
group :jekyll_plugins do
gem "my-jekyll-plugin"
gem "another-jekyll-plugin"
end
```
* Run `bundle install`

Now you need to install all plugins from your Bundler group by running single command `bundle install`


<div class="note info">
Expand Down

0 comments on commit 6cda306

Please sign in to comment.