If you don't want to install Haskell and other dependencies, several folks have developed Docker images for using pandoc:
https://users.soe.ucsc.edu/~ivo/_posts/2015-03-12-repeatable...
http://gbraad.nl/blog/document-generation-using-markdown-and...
https://users.soe.ucsc.edu/~ivo/_posts/2015-03-12-repeatable...
http://gbraad.nl/blog/document-generation-using-markdown-and...