middleman-gemoji
middleman-gemoji is Github-flavored emoji plugin for Middleman.
Installation
gem 'middleman-gemoji'
And then execute:
$ bundle
Or install it yourself as:
$ gem install middleman-gemoji
You can download emoji files from gemoji with bundler:
$ bundle exec middleman gemoji --path images/emoji
You can choose destination path with --path
or -p
option (default is 'images/emoji').
Usage
In config.rb:
activate :gemoji
Or with options:
activate :gemoji, :size => 20, :style => "vertical-align: middlele", :emoji_dir => "images/emoji"
Then you can use emoji in your template.
Contributing
- Fork it ( https://github.com/yterajima/middleman-gemoji/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request