Sha256: 520f254ce4e74535f559e954fc8603a1be294c553c0c9cdff09182e12371f8d6
Contents?: true
Size: 294 Bytes
Versions: 10
Compression:
Stored size: 294 Bytes
Contents
#!/usr/bin/env ruby begin require 'markdown' rescue LoadError => boom local_path = File.expand_path(File.dirname(__FILE__)) $: << "#{local_path}/../lib" require 'markdown' end STDIN.reopen(ARGV[0], 'rb') if ARGV.any? markdown = Markdown.new(STDIN.read) STDOUT.write(markdown.to_html)
Version data entries
10 entries across 10 versions & 2 rubygems