Convert markdown to mediawiki with pandoc: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

5 June 2025

4 June 2025

  • curprev 13:1113:11, 4 June 2025 Ryan talk contribs 445 bytes +445 Created page with "Normal Usage<syntaxhighlight lang="bash"> pandoc -f markdown -t mediawiki test.md -o test.wiki </syntaxhighlight>Sometimes, the current version of MediaWiki can't display the <code><nowiki><syntaxhighlight></nowiki></code> tag. This could be a solution.<syntaxhighlight lang="bash"> pandoc -f markdown -t mediawiki test.md | sed "s/<syntaxhighlight/\n<syntaxhighlight/" > test.wiki </syntaxhighlight>https://pandoc.org/ https://pandoc.org/try/" Tag: Visual edit