Convert markdown to mediawiki with pandoc
Normal Usage
pandoc -f markdown -t mediawiki test.md -o test.wiki
Sometimes, the current version of MediaWiki can't display the <syntaxhighlight>
tag.
This could be a solution.
pandoc -f markdown -t mediawiki test.md | sed "s/<syntaxhighlight/\n<syntaxhighlight/" > test.wiki