/markdown2confluence

Converting Markdown to Confluence Markup using Kramdown Gem

Primary LanguageRuby

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

Installation:

Via gem

$ gem install markdown2confluence

From github:

$ gem install bundler
$ git clone git://github.com/jedi4ever/markdown2confluence.git
$ cd markdown2confluence
$ bundle install

Usage:

If using Gem:

$ markdown2confluence <inputfile>

If using bundler:

$ bundle exec bin/markdown2confluence <inputfile>

Extending/Improving it:

there is really one class to edit - see lib/markdown2confluence/convertor/confluence.rb Feel free to enhance or improve tag handling.