Sha256: e3c15fd51b8e6323b4080c21694b97d073ef5d5d21d7fe2056a1f0b2c127e1a6
Contents?: true
Size: 317 Bytes
Versions: 4
Compression:
Stored size: 317 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