Converting Markdown to Confluence Markup using Kramdown Gem
Pull request Compare This branch is 25 commits behind jedi4ever:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
.rvmrc
Gemfile
README.markdown
Rakefile
markdown2confluence.gemspec

README.markdown

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
$ bundle install vendor

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.