README.md in jekyll-figure-0.0.2 vs README.md in jekyll-figure-0.0.3
- old
+ new
@@ -8,13 +8,15 @@
## Installation
1. Add `gem 'jekyll-figure'` to your site’s Gemfile and run `bundle`
2. Add the following to your site’s `_config.yml`:
-```yml
-gems:
+
+```yaml
+plugins:
- jekyll-figure
```
+Note: If you are using a Jekyll version less than 3.5.0, use the `gems` key instead of `plugins`.
## Usage
This plugin provides a liquid tag that enables you to generate a `<figure>` element. It takes optional `caption` and `class` parameters.