haskell@gentoo.org Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read markdown and (subsets of) reStructuredText, HTML, LaTeX and Textile, and it can write markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OpenDocument, ODT, RTF, MediaWiki, Textile, groff man pages, plain text, Emacs Org-Mode, EPUB, and S5 and Slidy HTML slide shows. Embed data files in binary for relocatable executable. Enable -O1 optimizations (requires ~16GiB memory) Build trypandoc cgi executable.