Open main menu

Changes

227 bytes added ,  14:01, 8 August 2015
adds pandoc example to mediawiki
Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and it can write markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook XML, OpenDocument XML, GNU Texinfo, RTF, ODT, MediaWiki markup, groff man pages, and [[Presentation|S5 HTML slide shows]].
 
Or more simply, Pandoc rocks the free world!
To convert an HTML document to MediaWiki syntax, you can simply issue a command like
<source lang="bash">
pandoc --from html --to mediawiki foo.html --output foo.wiki.txt
</source>
== Other ==
4,558

edits