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, 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.

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 Markdown.pl.

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.


Properties

Versions0.4, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 1.0, 1.0.0.1, 1.1, 1.2, 1.2.1, 1.3, 1.4, 1.5, 1.5.0.1, 1.5.1, 1.5.1.1, 1.6, 1.6.0.1, 1.8, 1.8.0.1, 1.8.0.2, 1.8.0.3, 1.8.1, 1.8.1.1, 1.8.1.2, 1.8.2, 1.8.2.1, 1.9, 1.9.0.2, 1.9.0.3, 1.9.0.4, 1.9.0.5, 1.9.1, 1.9.1.1, 1.9.1.2, 1.9.2, 1.9.3, 1.9.4, 1.9.4.1, 1.9.4.2, 1.9.4.3, 1.9.4.4, 1.9.4.5, 1.10, 1.10.0.1, 1.10.0.2, 1.10.0.3, 1.10.0.4, 1.10.0.5, 1.10.1, 1.11, 1.11.1, 1.12, 1.12.0.1, 1.12.0.2, 1.12.1, 1.12.2, 1.12.2.1, 1.12.3, 1.12.3.1, 1.12.3.2, 1.12.3.3, 1.12.4, 1.12.4.2
Dependenciesbase (==3.*), bytestring (>=0.9 && <1.0), citeproc-hs (>=0.3.1 && <0.4), containers (>=0.1 && <0.5), directory (>=1 && <1.2), dlist (>=0.4 && <0.6), extensible-exceptions (==0.1.*), filepath (>=1.1 && <1.3), HTTP (>=4000.0.5 && <4000.2), json (==0.4.*), mtl (>=1.1 && <2.1), network (>=2 && <2.4), old-time (>=1 && <1.1), pandoc-types (==1.8.*), parsec (>=2.1 && <3.2), process (>=1 && <1.1), random (>=1 && <1.1), tagsoup (==0.12.*), texmath (==0.5.*), utf8-string (==0.3.*), xhtml (>=3000.0 && <3000.3), xml (>=1.3.5 && <1.4), zip-archive (>=0.1.1.7 && <0.2) or
base (==4.*), bytestring (>=0.9 && <1.0), citeproc-hs (>=0.3.1 && <0.4), containers (>=0.1 && <0.5), directory (>=1 && <1.2), dlist (>=0.4 && <0.6), extensible-exceptions (==0.1.*), filepath (>=1.1 && <1.3), HTTP (>=4000.0.5 && <4000.2), json (==0.4.*), mtl (>=1.1 && <2.1), network (>=2 && <2.4), old-time (>=1 && <1.1), pandoc-types (==1.8.*), parsec (>=2.1 && <3.2), process (>=1 && <1.1), random (>=1 && <1.1), syb (>=0.1 && <0.4), tagsoup (==0.12.*), texmath (==0.5.*), utf8-string (==0.3.*), xhtml (>=3000.0 && <3000.3), xml (>=1.3.5 && <1.4), zip-archive (>=0.1.1.7 && <0.2)
LicenseGPL
Copyright(c) 2006-2010 John MacFarlane
AuthorJohn MacFarlane <jgm@berkeley.edu>
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
CategoryText
Home pagehttp://johnmacfarlane.net/pandoc
Bug trackerhttp://code.google.com/p/pandoc/issues/list
Source repositoryhead: git clone https://jgm@github.com/jgm/pandoc.git
Executablestest-pandoc, markdown2pdf, pandoc
Upload dateSat Feb 5 18:35:26 UTC 2011
Uploaded byJohnMacFarlane
DistributionsDebian:1.9.4.2, Fedora:1.12.3.3, FreeBSD:1.11.1, NixOS:1.12.4.2
Downloads36264 total (3520 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
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
testsBuild test-pandoc.Disabled
benchmarksBuild benchmark-pandoc.Disabled

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

Downloads

Maintainers' corner

For package maintainers and hackage trustees