7Copyright: (c) 2006-2013 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Bug-Reports: https://github.com/jgm/pandoc/issues
12Homepage: http://johnmacfarlane.net/pandoc
14Tested-With: GHC == 7.4.2, GHC == 7.6.1
15Synopsis: Conversion between markup formats
16Description: Pandoc is a Haskell library for converting from one markup
17 format to another, and a command-line tool that uses
18 this library. It can read markdown and (subsets of) HTML,
19 reStructuredText, LaTeX, DocBook, MediaWiki markup, Haddock
20 markup, OPML, and Textile, and it can write markdown,
21 reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OPML,
22 OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
23 groff man pages, plain text, Emacs Org-Mode, AsciiDoc,
24 EPUB (v2 and v3), FictionBook2, and several kinds of
25 HTML/javascript slide shows (S5, Slidy, Slideous, DZSlides,
28 Pandoc extends standard markdown syntax with footnotes,
29 embedded LaTeX, definition lists, tables, and other
30 features. A compatibility mode is provided for those
31 who need a drop-in replacement for Markdown.pl.
33 In contrast to existing tools for converting markdown
34 to HTML, which use regex substitutions, pandoc has
35 a modular design: it consists of a set of readers,
36 which parse text in a given format and produce a native
37 representation of the document, and a set of writers,
38 which convert this native representation into a target
39 format. Thus, adding an input or output format requires
40 only adding a reader or writer.
43 data/templates/default.html,
44 data/templates/default.html5,
45 data/templates/default.docbook,
46 data/templates/default.beamer,
47 data/templates/default.opendocument,
48 data/templates/default.opml,
49 data/templates/default.latex,
50 data/templates/default.context,
51 data/templates/default.texinfo,
52 data/templates/default.man,
53 data/templates/default.markdown,
54 data/templates/default.rst,
55 data/templates/default.plain,
56 data/templates/default.mediawiki,
57 data/templates/default.rtf,
58 data/templates/default.s5,
59 data/templates/default.slidy,
60 data/templates/default.slideous,
61 data/templates/default.revealjs,
62 data/templates/default.dzslides,
63 data/templates/default.asciidoc,
64 data/templates/default.textile,
65 data/templates/default.org,
66 data/templates/default.epub,
67 data/templates/default.epub3,
68 -- data for ODT writer
70 -- data for docx writer
72 -- stylesheet for EPUB writer
74 -- data for LaTeXMathML writer
77 -- data for dzslides writer
78 data/dzslides/template.html,
79 -- sample lua custom writer
82 README, INSTALL, COPYRIGHT, BUGS, CONTRIBUTING.md, changelog
84 -- code to create pandoc.1 man page
85 man/man1/pandoc.1.template,
86 man/man5/pandoc_markdown.5.template,
87 -- generated man pages (produced post-build)
89 man/man5/pandoc_markdown.5,
92 tests/docbook-reader.docbook
93 tests/docbook-reader.native
94 tests/html-reader.html,
95 tests/html-reader.native,
96 tests/opml-reader.opml,
97 tests/opml-reader.native,
98 tests/haddock-reader.haddock,
99 tests/haddock-reader.native,
103 tests/latex-reader.latex,
104 tests/latex-reader.native,
105 tests/textile-reader.textile,
106 tests/textile-reader.native,
107 tests/markdown-reader-more.txt,
108 tests/markdown-reader-more.native,
109 tests/markdown-citations.txt,
110 tests/markdown-citations.native,
111 tests/textile-reader.textile,
112 tests/mediawiki-reader.wiki,
113 tests/mediawiki-reader.native,
114 tests/rst-reader.native,
115 tests/rst-reader.rst,
118 tests/s5.fragment.html,
119 tests/s5.inserts.html,
121 tests/tables.context,
122 tests/tables.docbook,
127 tests/tables.markdown,
128 tests/tables.mediawiki,
129 tests/tables.textile,
131 tests/tables.opendocument,
133 tests/tables.asciidoc,
134 tests/tables.texinfo,
138 tests/tables-rstsubset.native,
140 tests/testsuite.native,
143 tests/writer.context,
144 tests/writer.docbook,
147 tests/writer.markdown,
149 tests/writer.mediawiki,
150 tests/writer.textile,
152 tests/writer.opendocument,
154 tests/writer.asciidoc,
157 tests/writer.texinfo,
160 tests/lhs-test.native,
161 tests/lhs-test-markdown.native,
162 tests/lhs-test.markdown,
163 tests/lhs-test.markdown+lhs,
165 tests/lhs-test.rst+lhs,
166 tests/lhs-test.latex,
167 tests/lhs-test.latex+lhs,
169 tests/lhs-test.html+lhs,
170 tests/lhs-test.fragment.html+lhs,
171 tests/pipe-tables.txt,
172 tests/pipe-tables.native,
173 tests/fb2.basic.markdown,
175 tests/fb2.titles.markdown,
176 tests/fb2.titles.fb2,
177 tests/fb2.images.markdown,
178 tests/fb2.images.fb2,
179 tests/fb2.images-embedded.html,
180 tests/fb2.images-embedded.fb2,
181 tests/fb2.math.markdown,
183 tests/fb2.test-small.png,
185Extra-Tmp-Files: man/man1/pandoc.1,
186 man/man5/pandoc_markdown.5
188Source-repository head
190 location: git://github.com/jgm/pandoc.git
193 Description: Embed data files in binary for relocatable executable.
197 Description: Enable downloading of resources over https.
201 Build-Depends: base >= 4.2 && <5,
203 containers >= 0.1 && < 0.6,
204 unordered-containers >= 0.2 && < 0.3,
205 array >= 0.3 && < 0.5,
206 parsec >= 3.1 && < 3.2,
208 network >= 2 && < 2.5,
209 filepath >= 1.1 && < 1.4,
210 process >= 1 && < 1.2,
211 directory >= 1 && < 1.3,
212 bytestring >= 0.9 && < 0.11,
213 text >= 0.11 && < 0.12,
214 zip-archive >= 0.1.3.3 && < 0.2,
215 old-locale >= 1 && < 1.1,
216 time >= 1.2 && < 1.5,
217 HTTP >= 4000.0.5 && < 4000.3,
218 texmath >= 0.6.4 && < 0.7,
219 xml >= 1.3.12 && < 1.4,
220 random >= 1 && < 1.1,
221 extensible-exceptions >= 0.1 && < 0.2,
222 pandoc-types >= 1.12.3 && < 1.13,
223 aeson >= 0.6 && < 0.7,
224 tagsoup >= 0.12.5 && < 0.14,
225 base64-bytestring >= 0.1 && < 1.1,
226 zlib >= 0.5 && < 0.6,
227 highlighting-kate >= 0.5.5 && < 0.6,
228 data-default >= 0.4 && < 0.6,
229 temporary >= 1.1 && < 1.2,
230 blaze-html >= 0.5 && < 0.7,
231 blaze-markup >= 0.5.1 && < 0.6,
232 attoparsec >= 0.10 && < 0.11,
233 yaml >= 0.8.3 && < 0.9,
234 vector >= 0.10 && < 0.11,
235 hslua >= 0.3 && < 0.4
236 Build-Tools: alex, happy
237 if flag(http-conduit)
238 Build-Depends: http-conduit >= 1.9 && < 1.10,
239 http-types >= 0.8 && < 0.9
240 cpp-options: -DHTTP_CONDUIT
241 if flag(embed_data_files)
242 cpp-options: -DEMBED_DATA_FILES
243 -- Build-Tools: hsb2hs -- not yet recognized by cabal
244 other-modules: Text.Pandoc.Data
245 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
246 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
247 Default-Language: Haskell98
248 Other-Extensions: PatternGuards, OverloadedStrings,
249 ScopedTypeVariables, GeneralizedNewtypeDeriving,
250 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
254 Exposed-Modules: Text.Pandoc,
258 Text.Pandoc.Readers.HTML,
259 Text.Pandoc.Readers.LaTeX,
260 Text.Pandoc.Readers.Markdown,
261 Text.Pandoc.Readers.MediaWiki,
262 Text.Pandoc.Readers.RST,
263 Text.Pandoc.Readers.DocBook,
264 Text.Pandoc.Readers.OPML,
265 Text.Pandoc.Readers.TeXMath,
266 Text.Pandoc.Readers.Textile,
267 Text.Pandoc.Readers.Native,
268 Text.Pandoc.Readers.Haddock,
269 Text.Pandoc.Writers.Native,
270 Text.Pandoc.Writers.Docbook,
271 Text.Pandoc.Writers.OPML,
272 Text.Pandoc.Writers.HTML,
273 Text.Pandoc.Writers.LaTeX,
274 Text.Pandoc.Writers.ConTeXt,
275 Text.Pandoc.Writers.OpenDocument,
276 Text.Pandoc.Writers.Texinfo,
277 Text.Pandoc.Writers.Man,
278 Text.Pandoc.Writers.Markdown,
279 Text.Pandoc.Writers.RST,
280 Text.Pandoc.Writers.Org,
281 Text.Pandoc.Writers.AsciiDoc,
282 Text.Pandoc.Writers.Custom,
283 Text.Pandoc.Writers.Textile,
284 Text.Pandoc.Writers.MediaWiki,
285 Text.Pandoc.Writers.RTF,
286 Text.Pandoc.Writers.ODT,
287 Text.Pandoc.Writers.Docx,
288 Text.Pandoc.Writers.EPUB,
289 Text.Pandoc.Writers.FB2,
292 Text.Pandoc.Templates,
294 Text.Pandoc.SelfContained,
296 Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
297 Text.Pandoc.Readers.Haddock.Parse,
298 Text.Pandoc.Writers.Shared,
303 Text.Pandoc.ImageSize,
305 Text.Pandoc.Highlighting,
306 Text.Pandoc.Compat.Monoid,
307 Text.Pandoc.Compat.TagSoupEntity,
313 Build-Depends: pandoc,
314 pandoc-types >= 1.12.3 && < 1.13,
316 directory >= 1 && < 1.3,
317 filepath >= 1.1 && < 1.4,
318 network >= 2 && < 2.5,
319 text >= 0.11 && < 0.12,
320 bytestring >= 0.9 && < 0.11,
321 extensible-exceptions >= 0.1 && < 0.2,
322 highlighting-kate >= 0.5.5 && < 0.6,
323 aeson >= 0.6 && < 0.7,
324 text >= 0.11 && < 0.12,
325 yaml >= 0.8.3 && < 0.9,
326 containers >= 0.1 && < 0.6,
327 HTTP >= 4000.0.5 && < 4000.3
328 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
329 Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
331 Cpp-options: -D_WINDOWS
332 Default-Language: Haskell98
333 Other-Extensions: PatternGuards, OverloadedStrings,
334 ScopedTypeVariables, GeneralizedNewtypeDeriving,
335 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
341-- NOTE: A trick in Setup.hs makes sure this won't be installed:
342Executable make-pandoc-man-pages
343 Main-Is: make-pandoc-man-pages.hs
345 Build-Depends: pandoc,
347 directory >= 1 && < 1.3,
348 filepath >= 1.1 && < 1.4,
349 old-time >= 1.0 && < 1.2,
351 Default-Language: Haskell98
353Test-Suite test-pandoc
354 Type: exitcode-stdio-1.0
355 Main-Is: test-pandoc.hs
356 Hs-Source-Dirs: tests
357 Build-Depends: base >= 4.2 && < 5,
360 pandoc-types >= 1.12.3 && < 1.13,
361 bytestring >= 0.9 && < 0.11,
362 text >= 0.11 && < 0.12,
363 directory >= 1 && < 1.3,
364 filepath >= 1.1 && < 1.4,
365 process >= 1 && < 1.2,
366 highlighting-kate >= 0.5.5 && < 0.6,
367 Diff >= 0.2 && < 0.4,
368 test-framework >= 0.3 && < 0.9,
369 test-framework-hunit >= 0.2 && < 0.4,
370 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
371 QuickCheck >= 2.4 && < 2.7,
372 HUnit >= 1.2 && < 1.3,
373 containers >= 0.1 && < 0.6,
374 ansi-terminal >= 0.5 && < 0.7
375 Other-Modules: Tests.Old
381 Tests.Readers.Markdown
384 Tests.Writers.ConTeXt
386 Tests.Writers.Markdown
388 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
389 Default-Language: Haskell98
391benchmark benchmark-pandoc
392 Type: exitcode-stdio-1.0
393 Main-Is: benchmark-pandoc.hs
394 Hs-Source-Dirs: benchmark
395 Build-Depends: pandoc,
398 criterion >= 0.5 && < 0.9
399 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
400 Default-Language: Haskell98
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list