Skip to content

Instantly share code, notes, and snippets.

@mkweskin
Last active November 13, 2023 15:52
Show Gist options
  • Star 29 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mkweskin/5414303 to your computer and use it in GitHub Desktop.
Save mkweskin/5414303 to your computer and use it in GitHub Desktop.
Convert markdown to mediawiki with pandoc
pandoc -f markdown -t mediawiki test.md -o test.wiki
# Thanks to @tillmanj for the updated formatting
@wethinkagile
Copy link

wethinkagile commented Aug 14, 2022

@splaisan

Error parsing reader format "markdown-strict": (line 1, column 16):
unexpected unknown extension: strict

@tillmanj
Copy link

pandoc -f markdown -t mediawiki INPUT.md -o OUTPUT.wiki

@lwaldron
Copy link

lwaldron commented Oct 3, 2023

I love a useful 1-line gist

@mkweskin
Copy link
Author

mkweskin commented Oct 3, 2023

pandoc -f markdown -t mediawiki INPUT.md -o OUTPUT.wiki

Thank you for this, @tillmanj, I've updated this gist with this info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment