The pandoc package

[Tags: gpl, library, program]

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, and LaTeX, and it can write markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OpenDocument, ODT, RTF, MediaWiki, groff man pages, EPUB, and S5 and Slidy HTML slide shows.

Pandoc extends standard markdown syntax with footnotes, embedded LaTeX, definition lists, tables, and other features. A compatibility mode is provided for those who need a drop-in replacement for

In contrast to existing tools for converting markdown to HTML, which use regex substitutions, pandoc has a modular design: it consists of a set of readers, which parse text in a given format and produce a native representation of the document, and a set of writers, which convert this native representation into a target format. Thus, adding an input or output format requires only adding a reader or writer.


Versions0.4, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 1.0,, 1.1, 1.2, 1.2.1, 1.3, 1.4, 1.5,, 1.5.1,, 1.6,, 1.8,,,, 1.8.1,,, 1.8.2,, 1.9,,,,, 1.9.1,,, 1.9.2, 1.9.3, 1.9.4,,,,,, 1.10,,,,,, 1.10.1, 1.11, 1.11.1, 1.12,,, 1.12.1, 1.12.2,, 1.12.3,,,, 1.12.4,, 1.13,, 1.13.1, 1.13.2
Dependenciesbase (>=3 && <5), bytestring (>=0.9), citeproc-hs (==0.2.*), containers (>=0.1), directory (>=1), extensible-exceptions, filepath (>=1.1), highlighting-kate (>= && <0.3), HTTP (>=4000.0.5), mtl (>=1.1), network (>=2), old-time (>=1), parsec (>=2.1), pretty (>=1), process (>=1), random, syb, texmath (>=0.3 && <0.5), utf8-string (>=0.3), xhtml (>=3000.0), xml (>=1.3.5 && <1.4), zip-archive (>= && <0.2)
Copyright(c) 2006-2010 John MacFarlane
AuthorJohn MacFarlane <>
MaintainerJohn MacFarlane <>
Home page
Bug tracker
Executablesmarkdown2pdf, pandoc
UploadedThu Jan 6 22:58:46 UTC 2011 by JohnMacFarlane
DistributionsDebian:, Fedora:1.13.2, FreeBSD:1.13.2, LTSHaskell:1.13.2, NixOS:1.13.2, Stackage:1.13.2
Downloads58632 total (1417 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




threadedCompile markdown2pdf with -threaded option.Enabled
highlightingCompile in support for syntax highlighting of code blocks.Disabled
executableBuild the pandoc executable.Enabled
libraryBuild the pandoc library.Enabled
wrappersBuild the wrappers (markdown2pdf).Enabled
citeprocCompile in support for citeproc-hs bibliographic formatting.Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees