7Copyright: (c) 2006-2015 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Bug-Reports: https://github.com/jgm/pandoc/issues
12Homepage: http://pandoc.org
14Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
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 several dialects of Markdown and
19 (subsets of) HTML, reStructuredText, LaTeX, DocBook,
20 MediaWiki markup, TWiki markup, Haddock markup, OPML,
21 Emacs Org-Mode, txt2tags, Word Docx, ODT, and Textile, and
22 it can write Markdown, reStructuredText, XHTML, HTML 5,
23 LaTeX, ConTeXt, DocBook, OPML, TEI, OpenDocument, ODT,
24 Word docx, RTF, MediaWiki, DokuWiki, Textile, groff man
25 pages, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
26 EPUB (v2 and v3), FictionBook2, InDesign ICML, and several
27 kinds of HTML/javascript slide shows (S5, Slidy, Slideous,
30 In contrast to most existing tools for converting Markdown
31 to HTML, pandoc has a modular design: it consists of a set of
32 readers, which parse text in a given format and produce a
33 native representation of the document, and a set of writers,
34 which convert this native representation into a target
35 format. Thus, adding an input or output format requires
36 only adding a reader or writer.
39 data/templates/default.html
40 data/templates/default.html5
41 data/templates/default.docbook
42 data/templates/default.tei
43 data/templates/default.beamer
44 data/templates/default.opendocument
45 data/templates/default.icml
46 data/templates/default.opml
47 data/templates/default.latex
48 data/templates/default.context
49 data/templates/default.texinfo
50 data/templates/default.man
51 data/templates/default.markdown
52 data/templates/default.commonmark
53 data/templates/default.rst
54 data/templates/default.plain
55 data/templates/default.mediawiki
56 data/templates/default.dokuwiki
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.haddock
65 data/templates/default.textile
66 data/templates/default.org
67 data/templates/default.epub
68 data/templates/default.epub3
69 -- source files for reference.docx
70 data/docx/[Content_Types].xml
72 data/docx/docProps/app.xml
73 data/docx/docProps/core.xml
74 data/docx/word/document.xml
75 data/docx/word/fontTable.xml
76 data/docx/word/footnotes.xml
77 data/docx/word/numbering.xml
78 data/docx/word/settings.xml
79 data/docx/word/webSettings.xml
80 data/docx/word/styles.xml
81 data/docx/word/_rels/document.xml.rels
82 data/docx/word/_rels/footnotes.xml.rels
83 data/docx/word/theme/theme1.xml
84 -- source files for reference.odt
91 data/odt/Configurations2/accelerator/current.xml
92 data/odt/Thumbnails/thumbnail.png
93 data/odt/META-INF/manifest.xml
94 -- stylesheet for EPUB writer
96 -- data for LaTeXMathML writer
99 -- data for dzslides writer
100 data/dzslides/template.html
101 -- sample lua custom writer
103 -- bash completion template
104 data/bash_completion.tpl
109 INSTALL, BUGS, CONTRIBUTING.md, changelog
113 -- files needed to build man page
114 man/capitalizeHeaders.hs
117 man/pandoc.1.template
124 tests/docbook-reader.docbook
125 tests/docbook-xref.docbook
126 tests/html-reader.html
127 tests/opml-reader.opml
128 tests/haddock-reader.haddock
132 tests/media/rId25.jpg
133 tests/media/rId26.jpg
134 tests/media/rId27.jpg
135 tests/latex-reader.latex
136 tests/textile-reader.textile
137 tests/markdown-reader-more.txt
138 tests/markdown-citations.txt
139 tests/textile-reader.textile
140 tests/mediawiki-reader.wiki
144 tests/s5-fragment.html
145 tests/s5-inserts.html
148 tests/tables.dokuwiki
154 tests/tables.markdown
155 tests/tables.mediawiki
157 tests/tables.opendocument
159 tests/tables.asciidoc
172 tests/writer.markdown
174 tests/writer.mediawiki
176 tests/writer.opendocument
178 tests/writer.asciidoc
186 tests/writer.dokuwiki
187 tests/writers-lang-and-dir.latex
188 tests/writers-lang-and-dir.context
189 tests/dokuwiki_inline_formatting.dokuwiki
190 tests/lhs-test.markdown
191 tests/lhs-test.markdown+lhs
193 tests/lhs-test.rst+lhs
195 tests/lhs-test.latex+lhs
197 tests/lhs-test.html+lhs
198 tests/lhs-test.fragment.html+lhs
199 tests/pipe-tables.txt
200 tests/dokuwiki_external_images.dokuwiki
201 tests/dokuwiki_external_images.native
202 tests/dokuwiki_multiblock_table.dokuwiki
203 tests/dokuwiki_multiblock_table.native
206 tests/fb2/images-embedded.html
207 tests/fb2/images-embedded.fb2
208 tests/fb2/test-small.png
215 tests/twiki-reader.twiki
217 tests/odt/markdown/*.md
218 tests/odt/native/*.native
219Source-repository head
221 location: git://github.com/jgm/pandoc.git
224 Description: Embed data files in binary for relocatable executable.
228 Description: Build trypandoc cgi executable.
232 Description: Enable support for downloading of resources over https.
236 Description: Get Network.URI from the network-uri package
240 Description: Use old-locale and time < 1.5
244 Build-Depends: base >= 4.2 && <5,
246 containers >= 0.1 && < 0.6,
247 unordered-containers >= 0.2 && < 0.3,
248 array >= 0.3 && < 0.6,
249 parsec >= 3.1 && < 3.2,
251 filepath >= 1.1 && < 1.5,
252 process >= 1 && < 1.5,
253 directory >= 1 && < 1.3,
254 bytestring >= 0.9 && < 0.11,
255 text >= 0.11 && < 1.3,
256 zip-archive >= 0.2.3.4 && < 0.4,
257 HTTP >= 4000.0.5 && < 4000.4,
258 texmath >= 0.8.4.1 && < 0.9,
259 xml >= 1.3.12 && < 1.4,
260 random >= 1 && < 1.2,
261 extensible-exceptions >= 0.1 && < 0.2,
262 pandoc-types >= 1.16 && < 1.17,
263 aeson >= 0.7 && < 0.12,
264 tagsoup >= 0.13.7 && < 0.14,
265 base64-bytestring >= 0.1 && < 1.1,
266 zlib >= 0.5 && < 0.7,
267 highlighting-kate >= 0.6.1 && < 0.7,
268 data-default >= 0.4 && < 0.6,
269 temporary >= 1.1 && < 1.3,
270 blaze-html >= 0.5 && < 0.9,
271 blaze-markup >= 0.5.1 && < 0.8,
272 yaml >= 0.8.8.2 && < 0.9,
273 scientific >= 0.2 && < 0.4,
274 vector >= 0.10 && < 0.12,
275 hslua >= 0.3 && < 0.5,
276 binary >= 0.5 && < 0.9,
278 haddock-library >= 1.1 && < 1.3,
280 deepseq >= 1.3 && < 1.5,
281 JuicyPixels >= 3.1.6.1 && < 3.3,
282 filemanip >= 0.3 && < 0.4,
283 cmark >= 0.5 && < 0.6,
286 Build-Depends: old-locale >= 1 && < 1.1,
289 Build-Depends: time >= 1.5 && < 1.6
291 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
293 Build-Depends: network >= 2 && < 2.6
295 Build-Depends: http-client >= 0.3.2 && < 0.5,
296 http-client-tls >= 0.2 && < 0.3,
297 http-types >= 0.8 && < 0.10
298 cpp-options: -DHTTP_CLIENT
299 if flag(embed_data_files)
300 cpp-options: -DEMBED_DATA_FILES
301 Build-Tools: hsb2hs >= 0.3.1
302 other-modules: Text.Pandoc.Data
304 Cpp-options: -D_WINDOWS
305 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
306 Ghc-Prof-Options: -fprof-auto-exported -rtsopts
307 Default-Language: Haskell98
308 Other-Extensions: PatternGuards, OverloadedStrings,
309 ScopedTypeVariables, GeneralizedNewtypeDeriving,
310 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
314 Hs-Source-Dirs: prelude
315 Other-Modules: Prelude
317 Exposed-Modules: Text.Pandoc,
321 Text.Pandoc.MediaBag,
323 Text.Pandoc.Readers.HTML,
324 Text.Pandoc.Readers.LaTeX,
325 Text.Pandoc.Readers.Markdown,
326 Text.Pandoc.Readers.CommonMark,
327 Text.Pandoc.Readers.MediaWiki,
328 Text.Pandoc.Readers.RST,
329 Text.Pandoc.Readers.Org,
330 Text.Pandoc.Readers.DocBook,
331 Text.Pandoc.Readers.OPML,
332 Text.Pandoc.Readers.TeXMath,
333 Text.Pandoc.Readers.Textile,
334 Text.Pandoc.Readers.Native,
335 Text.Pandoc.Readers.Haddock,
336 Text.Pandoc.Readers.TWiki,
337 Text.Pandoc.Readers.Txt2Tags,
338 Text.Pandoc.Readers.Docx,
339 Text.Pandoc.Readers.Odt,
340 Text.Pandoc.Readers.EPUB,
341 Text.Pandoc.Writers.Native,
342 Text.Pandoc.Writers.Docbook,
343 Text.Pandoc.Writers.OPML,
344 Text.Pandoc.Writers.HTML,
345 Text.Pandoc.Writers.ICML,
346 Text.Pandoc.Writers.LaTeX,
347 Text.Pandoc.Writers.ConTeXt,
348 Text.Pandoc.Writers.OpenDocument,
349 Text.Pandoc.Writers.Texinfo,
350 Text.Pandoc.Writers.Man,
351 Text.Pandoc.Writers.Markdown,
352 Text.Pandoc.Writers.CommonMark,
353 Text.Pandoc.Writers.Haddock,
354 Text.Pandoc.Writers.RST,
355 Text.Pandoc.Writers.Org,
356 Text.Pandoc.Writers.AsciiDoc,
357 Text.Pandoc.Writers.Custom,
358 Text.Pandoc.Writers.Textile,
359 Text.Pandoc.Writers.MediaWiki,
360 Text.Pandoc.Writers.DokuWiki,
361 Text.Pandoc.Writers.RTF,
362 Text.Pandoc.Writers.ODT,
363 Text.Pandoc.Writers.Docx,
364 Text.Pandoc.Writers.EPUB,
365 Text.Pandoc.Writers.FB2,
366 Text.Pandoc.Writers.TEI,
369 Text.Pandoc.Templates,
371 Text.Pandoc.SelfContained,
374 Other-Modules: Text.Pandoc.Readers.Docx.Lists,
375 Text.Pandoc.Readers.Docx.Combine,
376 Text.Pandoc.Readers.Docx.Parse,
377 Text.Pandoc.Readers.Docx.Fonts,
378 Text.Pandoc.Readers.Docx.Util,
379 Text.Pandoc.Readers.Docx.StyleMap,
380 Text.Pandoc.Readers.Odt.Base,
381 Text.Pandoc.Readers.Odt.Namespaces,
382 Text.Pandoc.Readers.Odt.StyleReader,
383 Text.Pandoc.Readers.Odt.ContentReader,
384 Text.Pandoc.Readers.Odt.Generic.Fallible,
385 Text.Pandoc.Readers.Odt.Generic.SetMap,
386 Text.Pandoc.Readers.Odt.Generic.Utils,
387 Text.Pandoc.Readers.Odt.Generic.Namespaces,
388 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
389 Text.Pandoc.Readers.Odt.Arrows.State,
390 Text.Pandoc.Readers.Odt.Arrows.Utils,
391 Text.Pandoc.Writers.Shared,
397 Text.Pandoc.ImageSize,
399 Text.Pandoc.Highlighting,
400 Text.Pandoc.Compat.Time,
401 Text.Pandoc.Compat.Except,
402 Text.Pandoc.Compat.TagSoupEntity,
403 Text.Pandoc.Compat.Directory,
404 Text.Pandoc.Compat.Monoid,
410 Build-Depends: pandoc,
411 pandoc-types >= 1.16 && < 1.17,
413 directory >= 1 && < 1.3,
414 filepath >= 1.1 && < 1.5,
415 text >= 0.11 && < 1.3,
416 bytestring >= 0.9 && < 0.11,
417 extensible-exceptions >= 0.1 && < 0.2,
418 highlighting-kate >= 0.6.1 && < 0.7,
419 aeson >= 0.7.0.5 && < 0.12,
420 yaml >= 0.8.8.2 && < 0.9,
421 containers >= 0.1 && < 0.6,
422 HTTP >= 4000.0.5 && < 4000.4
424 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
426 Build-Depends: network >= 2 && < 2.6
427 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
428 Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
430 Cpp-options: -D_WINDOWS
431 Default-Language: Haskell98
432 Other-Extensions: PatternGuards, OverloadedStrings,
433 ScopedTypeVariables, GeneralizedNewtypeDeriving,
434 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
438 Hs-Source-Dirs: prelude
439 Other-Modules: Prelude
442 Other-Modules: Paths_pandoc
445 Main-Is: trypandoc.hs
446 Hs-Source-Dirs: trypandoc
448 Hs-Source-Dirs: prelude
449 Other-Modules: Prelude
450 default-language: Haskell2010
452 Build-Depends: base, aeson, pandoc, highlighting-kate,
453 text, wai-extra, wai >= 0.3, http-types
458Test-Suite test-pandoc
459 Type: exitcode-stdio-1.0
460 Main-Is: test-pandoc.hs
461 Hs-Source-Dirs: tests
463 Hs-Source-Dirs: prelude
464 Other-Modules: Prelude
465 Build-Depends: base >= 4.2 && < 5,
468 pandoc-types >= 1.16 && < 1.17,
469 bytestring >= 0.9 && < 0.11,
470 text >= 0.11 && < 1.3,
471 directory >= 1 && < 1.3,
472 filepath >= 1.1 && < 1.5,
473 process >= 1 && < 1.5,
474 highlighting-kate >= 0.6.1 && < 0.7,
475 Diff >= 0.2 && < 0.4,
476 test-framework >= 0.3 && < 0.9,
477 test-framework-hunit >= 0.2 && < 0.4,
478 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
479 QuickCheck >= 2.4 && < 2.9,
480 HUnit >= 1.2 && < 1.4,
481 containers >= 0.1 && < 0.6,
482 ansi-terminal >= 0.5 && < 0.7,
483 executable-path >= 0.0 && < 0.1,
484 zip-archive >= 0.2.3.4 && < 0.4
485 Other-Modules: Tests.Old
492 Tests.Readers.Markdown
497 Tests.Readers.Txt2Tags
500 Tests.Writers.ConTeXt
501 Tests.Writers.Docbook
503 Tests.Writers.Markdown
505 Tests.Writers.AsciiDoc
510 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
511 Default-Language: Haskell98
513benchmark benchmark-pandoc
514 Type: exitcode-stdio-1.0
515 Main-Is: benchmark-pandoc.hs
516 Hs-Source-Dirs: benchmark
518 Hs-Source-Dirs: prelude
519 Other-Modules: Prelude
520 Build-Depends: pandoc,
523 criterion >= 1.0 && < 1.2
524 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
525 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