Convert between MediaWiki and other formats: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
== Pandoc ==
== Pandoc ==


[http://johnmacfarlane.net/pandoc/demos.html Pandoc] is an open source tool that can convert between different markup styles and languages. You can use it online but that is limited to small documents only. There is also a CLI version. On Linux systems the CLI version might be available from the repository. E.g. on Ubuntu:
[Pandoc http://johnmacfarlane.net/pandoc/demos.html] is an open source tool that can convert between different markup styles and languages.
 
<code=bash>
sudo apt-get install pandoc
</code>
 
For instance, converting between MediaWiki and Markdown would work like this:
 
<code=bash>
pandoc -f mediawiki -t markdown -s myfile.mw -o myfile.md
</code>

Revision as of 17:11, 12 February 2015

There are various programs that can convert to and from MediaWiki format, as used in this Wiki, and other formats. This page lists some of them and provides explanation of how to use them.

Pandoc

[Pandoc http://johnmacfarlane.net/pandoc/demos.html] is an open source tool that can convert between different markup styles and languages.