Allows you to format yout text using http://mdash.ru API.
Add this line to your application's Gemfile:
gem 'e_m_typographer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install e_m_typographer
The basic usage is:
EMTypographer.apply('supatext')
# => "<p>supatext</p>"
- Fork it (https://github.com/fishtag/e_m_typographer/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