-
-
Save janlelis/97fb3d28687fdc1e3e0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment