pandoc

From RaySoft

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library.[1]

Documentation

Syntax

pandoc [PARAMETER ...] [FILE ...]

Parameters

-f FORMAT, --from=FORMAT, -r FORMAT, --read=FORMAT
Specify input FORMAT.
-o FILE, --output=FILE
Write output to FILE instead of stdout.
-t FORMAT, --to=FORMAT, -w FORMAT, --write=FORMAT
Specify output FORMAT.

Examples

Convert Markdown to MediaWiki markup
pandoc --from='markdown' 'text.md' --to='mediawiki' --output='text.wiki'

References

  1. man 1 'pandoc'