views:

80

answers:

1

The requirement is that I need to paste a long document in markdown format to a mediawiki site, which has no markdown extension installed. All I can find about markdown, tools or modules/libraries, are in charge of converting markdown to HTML. My question is: is there a convenient way to do the work from markdown to MediaWiki wikitext?

A: 
$ pandoc --help
pandoc [OPTIONS] [FILES]
Input formats:   native, markdown, markdown+lhs, rst, rst+lhs, 
                 html, latex, latex+lhs
Output formats:  native, html, html+lhs, s5, slidy, docbook, 
                 opendocument, odt, epub, latex, latex+lhs, 
                 context, texinfo, man, markdown, markdown+lhs, 
                 plain, rst, rst+lhs, mediawiki, rtf
applicative
great, that's just what I want. Thanks.
jfding