Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Convert rdoc to markdown
require 'rdoc'
converter =
rdoc =[0] || 'README.rdoc')
puts converter.convert(rdoc)
# ruby rdoc2md.rb >
# ruby rdoc2md.rb ABC.rdoc >
alias rdoc2md='ruby ~/.ruby/rdoc2md.rb $1'
# rdoc2md >
# rdoc2md ABC.rdoc >
Copy link

tunggnu commented Dec 25, 2020

@atz Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment