@@ -8,19 +8,15 @@ Streamline your writing in Jekyll with some commands.
88
99Add this line to your application's Gemfile:
1010
11- gem 'jekyll-compose'
11+ gem 'jekyll-compose', group: [:jekyll_plugins]
1212
1313And then execute:
1414
1515 $ bundle
1616
17- Or install it yourself as:
18-
19- $ gem install jekyll-compose
20-
2117## Usage
2218
23- Install ` jekyll-compose ` and run ` jekyll help ` .
19+ After you have installed (see above), run ` bundle exec jekyll help` and you should see:
2420
2521Listed in help you will see new commands available to you:
2622
@@ -34,37 +30,25 @@ Listed in help you will see new commands available to you:
3430
3531Create your new page using:
3632
37- $ jekyll page "My New Page"
33+ $ bundle exec jekyll page "My New Page"
3834
3935Create your new post using:
4036
41- $ jekyll post "My New Post"
37+ $ bundle exec jekyll post "My New Post"
4238
4339Create your new draft using:
4440
45- $ jekyll draft "My new draft"
41+ $ bundle exec jekyll draft "My new draft"
4642
4743Publish your draft using:
4844
49- $ jekyll publish _drafts/my-new-draft.md
45+ $ bundle exec jekyll publish _drafts/my-new-draft.md
5046 # or specify a specific date on which to publish it
51- $ jekyll publish _drafts/my-new-draft.md --date 2014-01-24
47+ $ bundle exec jekyll publish _drafts/my-new-draft.md --date 2014-01-24
5248
5349Unpublish your post using:
5450
55- $ jekyll unpublish _posts/2014-01-24-my-new-draft.md
56-
57- ## Helpful Note
58-
59- If after installing the jekyll-compose gem you still do not see the above
60- commands available to you, try including the gem in the ` jekyll_plugins `
61- group of your ` Gemfile ` like so:
62-
63- ``` ruby
64- group :jekyll_plugins do
65- gem ' jekyll-compose'
66- end
67- ```
51+ $ bundle exec jekyll unpublish _posts/2014-01-24-my-new-draft.md
6852
6953## Contributing
7054
0 commit comments