This gem converts creole to html, then converts html to markdown.
Add this line to your application's Gemfile:
gem 'creole2md'
And then execute:
$ bundle
Or install it yourself as:
$ gem install creole2md
require 'creole2md'
Creole2md.convert(text)
A command line converter is also provided:
creole2md in.creole > out.md
cat in.creole | creole2md > out.md
- Fork it ( https://github.com/weakish/creole2md/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