This code is a quick hack for converting markdown to Atlassian confluence markup language. It's not a 100% full conversion, but I find it rather usuable already. I will continue to improve where possible.
The gem is based on Kramdown
$ gem install markdown2confluence
$ gem install bundler
$ git clone git://github.com/jedi4ever/markdown2confluence.git
$ cd markdown2confluence
$ bundle install
If using Gem:
$ markdown2confluence <inputfile>
If using bundler:
$ bundle exec bin/markdown2confluence <inputfile>
there is really one class to edit - see lib/markdown2confluence/convertor/confluence.rb Feel free to enhance or improve tag handling.