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

Version Path
parkdown-libertree-1.4.27 bin/parkdown
parkdown-libertree-1.4.26 bin/parkdown
rpeg-markdown-1.4.6 bin/rpeg-markdown
rpeg-markdown-1.1.1 bin/rpeg-markdown
rpeg-markdown-0.2.0 bin/rpeg-markdown
rpeg-markdown-1.0 bin/rpeg-markdown
rpeg-markdown-1.1 bin/rpeg-markdown
rpeg-markdown-0.1.0 bin/rpeg-markdown
rpeg-markdown-1.4.4 bin/rpeg-markdown
rpeg-markdown-1.4.3 bin/rpeg-markdown