Sha256: 24ed989fee13a467fec7015222ffbf5c903f913f7524629ed2bc9aa3788eee12
Contents?: true
Size: 302 Bytes
Versions: 2
Compression:
Stored size: 302 Bytes
Contents
#!/usr/bin/env ruby require 'markdown2confluence' filename = ARGV[0] abort "We need at least on file argument" if ARGV.size < 1 begin text = File.read(filename) puts Kramdown::Document.new(text).to_confluence rescue Exception => ex warn "There was an error running the convertor: \n#{ex}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
markdown2confluence-0.0.4 | bin/markdown2confluence |
markdown2confluence-0.0.3 | bin/markdown2confluence |