Unclear how to invoke plugin
candlerb opened this issue · 4 comments
candlerb commented
The directions just say jekyll build
without any further notes.
After some experimentation, it appears you can create _plugins/pandoc.rb
which contains
$:.unshift '/path/to/jekyll-pandoc-multiple-formats/lib'
require 'jekyll-pandoc-multiple-formats'
Or if you have the plugin as a gem, it should be possible to edit _config.yml
and set
gems: [jekyll-pandoc-multiple-formats]
Could these options be mentioned somewhere?
candlerb commented
Note: if version.rb
were folded into jekyll-pandoc-multiple-formats.rb
then you could simply copy jekyll-pandoc-multiple-formats.rb
into the _plugins/
directory (same as jekyll-pandoc-plugin)
mauriciopasquier commented
Check out this method of loading from this Gemfile. It allows you to use a Gemfile with gems until jekyll standarizes how to do it.
mauriciopasquier commented
Oh, I wasn't aware of jekyll 1.3 and gems: []
:P
fauno commented
:)