Sha256: 5c075f6baa0ed82ed11604cf800d62fb8f99b0f1a7642ff68d9d79fbb16b3501

Contents?: true

Size: 318 Bytes

Versions: 4

Compression:

Stored size: 318 Bytes

Contents

#!/usr/bin/env ruby

require 'markdown2confluence'

filename=ARGV[0]
if ARGV.size < 1
puts "We need at least on file argument"
exit -1
  end

begin
  text=File.read(filename)

  s=Kramdown::Document.new(text).to_confluence
  puts s
rescue Exception => ex
  warn "There was an error running the convertor: \n#{ex}"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
markdown2confluence-0.0.2 bin/markdown2confluence
markdown2confluence-0.0.1g bin/markdown2confluence
markdown2confluence-0.0.1f bin/markdown2confluence
markdown2confluence-0.0.1d bin/markdown2confluence