A CoffeeScript converter for Jekyll.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install jekyll-coffeescript
jekyll-coffeescript requires Ruby 2.4 or greater. Additionally, the dependency on
You also need to add this plugin to your
plugins: - jekyll-coffeescript
In your Jekyll site, create CoffeeScript files that start with the following lines:
You need those three dashes in order for Jekyll to recognize it as "convertible". They won't be included in the content passed to the CoffeeScript compiler.
git checkout -b my-new-feature)
git commit -am "Add some feature")
git push origin my-new-feature)