Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (13 sloc) 287 Bytes
#!/usr/bin/env ruby
here = File.expand_path File.dirname __FILE__
require 'lib/media_wiki'
include MediaWiki
ARGV.each do |arg|
old_path = arg
new_path = arg.gsub(/\.mw$/, '.md')
old =, "w") do |f|
f.write mw2md(old)
Jump to Line
Something went wrong with that request. Please try again.