Convert between MediaWiki and other formats: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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...") |
m (<source> to <pre> to fix code blocks) |
||
(8 intermediate revisions by one other user not shown) | |||
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. | ||
There is a [http://johnmacfarlane.net/pandoc/try/ web version of Pandoc] but that seems limited to small documents only. There's also a CLI version, and if you are running a Linux desktop machine chances are you can install it from the repository. E.g. on Ubuntu 14.04: | |||
<pre> | |||
sudo apt-get install pandoc | |||
</pre> | |||
The following example translates from MediaWiki format to Markdown format: | |||
<pre> | |||
pandoc -f mediawiki -t markdown -s myfile.mw -o myfile.md | |||
</pre> | |||
== See also == | |||
[[Bioinformatics_protocols_ABG_Chairgroup | Bioinformatics tips, tricks, workflows at ABGC]] | |||
== External links == | |||
[http://en.wikipedia.org/wiki/Markup_language Wikipedia entry on markup languages] |
Latest revision as of 14:47, 15 June 2023
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 is an open source tool that can convert between different markup styles and languages.
There is a web version of Pandoc but that seems limited to small documents only. There's also a CLI version, and if you are running a Linux desktop machine chances are you can install it from the repository. E.g. on Ubuntu 14.04:
sudo apt-get install pandoc
The following example translates from MediaWiki format to Markdown format:
pandoc -f mediawiki -t markdown -s myfile.mw -o myfile.md
See also
Bioinformatics tips, tricks, workflows at ABGC