Skip to content

Instantly share code, notes, and snippets.

@janlelis
janlelis / rdoc2md
Last active August 29, 2015 14:17 — forked from teeparham/rdoc2md.rb
#!/usr/bin/env ruby
require 'rdoc'
puts RDoc::Markup::ToMarkdown.new.convert File.read(ARGV[0] || 'README.rdoc')
# ./rdoc2md > README.md
# ./rdoc2md ABC.rdoc > abc.md