Converts markdown to Atlassian confluence markup language. Forked from https://github.com/jedi4ever/markdown2confluence. Previosly run as a cli-tool this fork implements the functionality as a rest server using Sinatra.
- gem install bundle
- bundle install --path vendor/bundle
- bundle exec rackup
- GET localhost:9292
- GET localhost:9292/ping
- PUT localhost:9292/markdown2confluence
Take a look at the included script test-markdown.rb to know how to interact with server
Run:
- ruby test-markdown.rb
- docker run -d -p 9292:9292 rogerw/markdown2confluence-server
To build and start docker image locally:
- docker build -t markdown2confluence-server -f docker/Dockerfile .
- docker run -d -p 9292:9292 markdown2confluence-server