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, Sable, 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
78 data/s5/default/slides.js,
79 data/s5/default/s5-core.css,
80 data/s5/default/framing.css,
81 data/s5/default/pretty.css,
82 data/s5/default/opera.css,
83 data/s5/default/outline.css,
84 data/s5/default/print.css,
85 data/s5/default/slides.css,
86 data/s5/default/iepngfix.htc,
87 data/s5/default/blank.gif,
88 data/s5/default/bodybg.gif,
89 -- data for slidy writer
90 data/slidy/styles/slidy.css,
91 data/slidy/scripts/slidy.js,
92 data/slidy/graphics/fold.gif,
93 data/slidy/graphics/unfold.gif,
94 data/slidy/graphics/nofold-dim.gif,
95 data/slidy/graphics/unfold-dim.gif,
96 data/slidy/graphics/fold-dim.gif,
97 -- data for slideous writer
98 data/slideous/slideous.css,
99 data/slideous/slideous.js,
100 -- data for dzslides writer
101 data/dzslides/template.html,
102 -- sample lua custom writer
105 README, INSTALL, COPYRIGHT, BUGS, CONTRIBUTING.md, changelog
107 -- code to create pandoc.1 man page
108 man/man1/pandoc.1.template,
109 man/man5/pandoc_markdown.5.template,
110 -- generated man pages (produced post-build)
112 man/man5/pandoc_markdown.5,
115 tests/docbook-reader.docbook
116 tests/docbook-reader.native
117 tests/html-reader.html,
118 tests/html-reader.native,
119 tests/opml-reader.opml,
120 tests/opml-reader.native,
121 tests/haddock-reader.haddock,
122 tests/haddock-reader.native,
126 tests/latex-reader.latex,
127 tests/latex-reader.native,
128 tests/textile-reader.textile,
129 tests/textile-reader.native,
130 tests/markdown-reader-more.txt,
131 tests/markdown-reader-more.native,
132 tests/markdown-citations.txt,
133 tests/markdown-citations.native,
134 tests/textile-reader.textile,
135 tests/mediawiki-reader.wiki,
136 tests/mediawiki-reader.native,
137 tests/rst-reader.native,
138 tests/rst-reader.rst,
141 tests/s5.fragment.html,
142 tests/s5.inserts.html,
144 tests/tables.context,
145 tests/tables.docbook,
150 tests/tables.markdown,
151 tests/tables.mediawiki,
152 tests/tables.textile,
154 tests/tables.opendocument,
156 tests/tables.asciidoc,
157 tests/tables.texinfo,
161 tests/tables-rstsubset.native,
164 tests/testsuite.native,
167 tests/writer.context,
168 tests/writer.docbook,
171 tests/writer.markdown,
173 tests/writer.mediawiki,
174 tests/writer.textile,
176 tests/writer.opendocument,
178 tests/writer.asciidoc,
181 tests/writer.texinfo,
185 tests/lhs-test.native,
186 tests/lhs-test-markdown.native,
187 tests/lhs-test.markdown,
188 tests/lhs-test.markdown+lhs,
190 tests/lhs-test.rst+lhs,
191 tests/lhs-test.latex,
192 tests/lhs-test.latex+lhs,
194 tests/lhs-test.html+lhs,
195 tests/lhs-test.fragment.html+lhs,
196 tests/pipe-tables.txt,
197 tests/pipe-tables.native,
198 tests/fb2.basic.markdown,
200 tests/fb2.titles.markdown,
201 tests/fb2.titles.fb2,
202 tests/fb2.images.markdown,
203 tests/fb2.images.fb2,
204 tests/fb2.images-embedded.html,
205 tests/fb2.images-embedded.fb2,
206 tests/fb2.math.markdown,
208 tests/fb2.test-small.png,
210Extra-Tmp-Files: man/man1/pandoc.1,
211 man/man5/pandoc_markdown.5
213Source-repository head
215 location: git://github.com/jgm/pandoc.git
218 Description: Embed data files in binary for relocatable executable.
222 Description: Enable downloading of resources over https.
226 Build-Depends: base >= 4.2 && <5,
228 containers >= 0.1 && < 0.6,
229 unordered-containers >= 0.2 && < 0.3,
230 array >= 0.3 && < 0.5,
231 parsec >= 3.1 && < 3.2,
233 network >= 2 && < 2.5,
234 filepath >= 1.1 && < 1.4,
235 process >= 1 && < 1.2,
236 directory >= 1 && < 1.3,
237 bytestring >= 0.9 && < 0.11,
238 text >= 0.11 && < 0.12,
239 zip-archive >= 0.1.3.3 && < 0.2,
240 old-locale >= 1 && < 1.1,
241 time >= 1.2 && < 1.5,
242 HTTP >= 4000.0.5 && < 4000.3,
243 texmath >= 0.6.4 && < 0.7,
244 xml >= 1.3.12 && < 1.4,
245 random >= 1 && < 1.1,
246 extensible-exceptions >= 0.1 && < 0.2,
247 pandoc-types >= 1.12.2.2 && < 1.13,
248 aeson >= 0.6 && < 0.7,
249 tagsoup >= 0.12.5 && < 0.14,
250 base64-bytestring >= 0.1 && < 1.1,
251 zlib >= 0.5 && < 0.6,
252 highlighting-kate >= 0.5.5 && < 0.6,
253 data-default >= 0.4 && < 0.6,
254 temporary >= 1.1 && < 1.2,
255 blaze-html >= 0.5 && < 0.7,
256 blaze-markup >= 0.5.1 && < 0.6,
257 attoparsec >= 0.10 && < 0.11,
258 yaml >= 0.8.3 && < 0.9,
259 vector >= 0.10 && < 0.11,
260 hslua >= 0.3 && < 0.4
261 Build-Tools: alex, happy
262 if flag(http-conduit)
263 Build-Depends: http-conduit >= 1.9 && < 1.10,
264 http-types >= 0.8 && < 0.9
265 cpp-options: -DHTTP_CONDUIT
266 if flag(embed_data_files)
267 cpp-options: -DEMBED_DATA_FILES
268 -- Build-Tools: hsb2hs -- not yet recognized by cabal
269 other-modules: Text.Pandoc.Data
270 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
271 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
272 Default-Language: Haskell98
273 Other-Extensions: PatternGuards, OverloadedStrings,
274 ScopedTypeVariables, GeneralizedNewtypeDeriving,
275 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
279 Exposed-Modules: Text.Pandoc,
283 Text.Pandoc.Readers.HTML,
284 Text.Pandoc.Readers.LaTeX,
285 Text.Pandoc.Readers.Markdown,
286 Text.Pandoc.Readers.MediaWiki,
287 Text.Pandoc.Readers.RST,
288 Text.Pandoc.Readers.DocBook,
289 Text.Pandoc.Readers.OPML,
290 Text.Pandoc.Readers.TeXMath,
291 Text.Pandoc.Readers.Textile,
292 Text.Pandoc.Readers.Native,
293 Text.Pandoc.Readers.Haddock,
294 Text.Pandoc.Writers.Native,
295 Text.Pandoc.Writers.Docbook,
296 Text.Pandoc.Writers.OPML,
297 Text.Pandoc.Writers.HTML,
298 Text.Pandoc.Writers.LaTeX,
299 Text.Pandoc.Writers.ConTeXt,
300 Text.Pandoc.Writers.OpenDocument,
301 Text.Pandoc.Writers.Texinfo,
302 Text.Pandoc.Writers.Man,
303 Text.Pandoc.Writers.Markdown,
304 Text.Pandoc.Writers.RST,
305 Text.Pandoc.Writers.Org,
306 Text.Pandoc.Writers.AsciiDoc,
307 Text.Pandoc.Writers.Custom,
308 Text.Pandoc.Writers.Textile,
309 Text.Pandoc.Writers.MediaWiki,
310 Text.Pandoc.Writers.RTF,
311 Text.Pandoc.Writers.ODT,
312 Text.Pandoc.Writers.Docx,
313 Text.Pandoc.Writers.EPUB,
314 Text.Pandoc.Writers.FB2,
315 Text.Pandoc.Writers.Sable,
318 Text.Pandoc.Templates,
320 Text.Pandoc.SelfContained,
322 Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
323 Text.Pandoc.Readers.Haddock.Parse,
324 Text.Pandoc.Writers.Shared,
329 Text.Pandoc.ImageSize,
331 Text.Pandoc.Highlighting,
332 Text.Pandoc.Compat.Monoid,
333 Text.Pandoc.Compat.TagSoupEntity,
339 Build-Depends: pandoc,
340 pandoc-types >= 1.12.2.2 && < 1.13,
342 directory >= 1 && < 1.3,
343 filepath >= 1.1 && < 1.4,
344 network >= 2 && < 2.5,
345 text >= 0.11 && < 0.12,
346 bytestring >= 0.9 && < 0.11,
347 extensible-exceptions >= 0.1 && < 0.2,
348 highlighting-kate >= 0.5.5 && < 0.6,
349 aeson >= 0.6 && < 0.7,
350 text >= 0.11 && < 0.12,
351 yaml >= 0.8.3 && < 0.9,
352 containers >= 0.1 && < 0.6,
353 HTTP >= 4000.0.5 && < 4000.3
354 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
355 Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
357 Cpp-options: -D_WINDOWS
358 Default-Language: Haskell98
359 Other-Extensions: PatternGuards, OverloadedStrings,
360 ScopedTypeVariables, GeneralizedNewtypeDeriving,
361 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
367-- NOTE: A trick in Setup.hs makes sure this won't be installed:
368Executable make-pandoc-man-pages
369 Main-Is: make-pandoc-man-pages.hs
371 Build-Depends: pandoc,
373 directory >= 1 && < 1.3,
374 filepath >= 1.1 && < 1.4,
375 old-time >= 1.0 && < 1.2,
377 Default-Language: Haskell98
379Test-Suite test-pandoc
380 Type: exitcode-stdio-1.0
381 Main-Is: test-pandoc.hs
382 Hs-Source-Dirs: tests
383 Build-Depends: base >= 4.2 && < 5,
386 pandoc-types >= 1.12.2.2 && < 1.13,
387 bytestring >= 0.9 && < 0.11,
388 text >= 0.11 && < 0.12,
389 directory >= 1 && < 1.3,
390 filepath >= 1.1 && < 1.4,
391 process >= 1 && < 1.2,
392 highlighting-kate >= 0.5.5 && < 0.6,
393 Diff >= 0.2 && < 0.4,
394 test-framework >= 0.3 && < 0.9,
395 test-framework-hunit >= 0.2 && < 0.4,
396 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
397 QuickCheck >= 2.4 && < 2.7,
398 HUnit >= 1.2 && < 1.3,
399 containers >= 0.1 && < 0.6,
400 ansi-terminal >= 0.5 && < 0.7
401 Other-Modules: Tests.Old
407 Tests.Readers.Markdown
410 Tests.Writers.ConTeXt
412 Tests.Writers.Markdown
414 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
415 Default-Language: Haskell98
417benchmark benchmark-pandoc
418 Type: exitcode-stdio-1.0
419 Main-Is: benchmark-pandoc.hs
420 Hs-Source-Dirs: benchmark
421 Build-Depends: pandoc,
424 criterion >= 0.5 && < 0.9
425 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
426 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