6license-file: COPYING.md
7copyright: (c) 2006-2017 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.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.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, TikiWiki markup, Creole 1.0,
21 Haddock markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags,
22 Vimwiki, Word Docx, ODT, and Textile, and it can write
23 Markdown, reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt,
24 DocBook, JATS, OPML, TEI, OpenDocument, ODT, Word docx,
25 RTF, MediaWiki, DokuWiki, ZimWiki, Textile, groff man,
26 groff ms, plain text, Emacs Org-Mode, AsciiDoc,
27 Haddock markup, EPUB (v2 and v3), FictionBook2, InDesign
28 ICML, Muse, LaTeX beamer slides, PowerPoint, and several
29 kinds of HTML/JavaScript slide shows (S5, Slidy, Slideous,
32 In contrast to most existing tools for converting Markdown
33 to HTML, pandoc has a modular design: it consists of a set of
34 readers, which parse text in a given format and produce a
35 native representation of the document, and a set of writers,
36 which convert this native representation into a target
37 format. Thus, adding an input or output format requires
38 only adding a reader or writer.
41 data/templates/default.html4
42 data/templates/default.html5
43 data/templates/default.docbook4
44 data/templates/default.docbook5
45 data/templates/default.jats
46 data/templates/default.tei
47 data/templates/default.opendocument
48 data/templates/default.icml
49 data/templates/default.opml
50 data/templates/default.latex
51 data/templates/default.context
52 data/templates/default.texinfo
53 data/templates/default.man
54 data/templates/default.ms
55 data/templates/default.markdown
56 data/templates/default.muse
57 data/templates/default.commonmark
58 data/templates/default.rst
59 data/templates/default.plain
60 data/templates/default.mediawiki
61 data/templates/default.dokuwiki
62 data/templates/default.zimwiki
63 data/templates/default.rtf
64 data/templates/default.s5
65 data/templates/default.slidy
66 data/templates/default.slideous
67 data/templates/default.revealjs
68 data/templates/default.dzslides
69 data/templates/default.asciidoc
70 data/templates/default.haddock
71 data/templates/default.textile
72 data/templates/default.org
73 data/templates/default.epub2
74 data/templates/default.epub3
76 data/translations/*.yaml
77 -- source files for reference.docx
78 data/docx/[Content_Types].xml
80 data/docx/docProps/app.xml
81 data/docx/docProps/core.xml
82 data/docx/word/document.xml
83 data/docx/word/fontTable.xml
84 data/docx/word/footnotes.xml
85 data/docx/word/numbering.xml
86 data/docx/word/settings.xml
87 data/docx/word/webSettings.xml
88 data/docx/word/styles.xml
89 data/docx/word/_rels/document.xml.rels
90 data/docx/word/_rels/footnotes.xml.rels
91 data/docx/word/theme/theme1.xml
92 -- source files for reference.odt
99 data/odt/Configurations2/accelerator/current.xml
100 data/odt/Thumbnails/thumbnail.png
101 data/odt/META-INF/manifest.xml
102 -- source files for reference.pptx
103 data/pptx/_rels/.rels
104 data/pptx/docProps/thumbnail.jpeg
105 data/pptx/docProps/app.xml
106 data/pptx/docProps/core.xml
107 data/pptx/ppt/slideLayouts/slideLayout4.xml
108 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
109 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
110 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
111 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
112 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
114 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
115 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
116 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
118 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
119 data/pptx/ppt/slideLayouts/slideLayout2.xml
120 data/pptx/ppt/slideLayouts/slideLayout8.xml
121 data/pptx/ppt/slideLayouts/slideLayout11.xml
122 data/pptx/ppt/slideLayouts/slideLayout3.xml
123 data/pptx/ppt/slideLayouts/slideLayout6.xml
124 data/pptx/ppt/slideLayouts/slideLayout9.xml
125 data/pptx/ppt/slideLayouts/slideLayout5.xml
126 data/pptx/ppt/slideLayouts/slideLayout7.xml
127 data/pptx/ppt/slideLayouts/slideLayout1.xml
128 data/pptx/ppt/slideLayouts/slideLayout10.xml
129 data/pptx/ppt/_rels/presentation.xml.rels
130 data/pptx/ppt/theme/theme1.xml
131 data/pptx/ppt/presProps.xml
132 data/pptx/ppt/slides/_rels/slide1.xml.rels
133 data/pptx/ppt/slides/_rels/slide2.xml.rels
134 data/pptx/ppt/slides/slide2.xml
135 data/pptx/ppt/slides/slide1.xml
136 data/pptx/ppt/viewProps.xml
137 data/pptx/ppt/tableStyles.xml
138 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
139 data/pptx/ppt/slideMasters/slideMaster1.xml
140 data/pptx/ppt/presentation.xml
141 data/pptx/[Content_Types].xml
142 -- stylesheet for EPUB writer
144 -- data for LaTeXMathML writer
146 -- data for dzslides writer
147 data/dzslides/template.html
148 -- default abbreviations file
150 -- sample lua custom writer
158 -- sample highlighting theme
160 -- bash completion template
161 data/bash_completion.tpl
165 MANUAL.txt, COPYRIGHT
168 INSTALL.md, AUTHORS.md, README.md,
169 CONTRIBUTING.md, BUGS, changelog,
173 -- files needed to build man page
175 man/pandoc.1.template
183 test/command/3533-rst-csv-tables.csv
184 test/command/3880.txt
186 test/command/SVG_logo-without-xml-declaration.svg
187 test/command/SVG_logo.svg
188 test/command/corrupt.svg
189 test/command/inkscape-cube.svg
190 test/command/sub-file-chapter-1.tex
191 test/command/sub-file-chapter-2.tex
192 test/command/3510-subdoc.org
193 test/command/3510-export.latex
194 test/command/3510-src.hs
195 test/command/3971b.tex
196 test/docbook-reader.docbook
197 test/docbook-xref.docbook
198 test/html-reader.html
199 test/opml-reader.opml
200 test/haddock-reader.haddock
207 test/latex-reader.latex
208 test/textile-reader.textile
209 test/markdown-reader-more.txt
210 test/markdown-citations.txt
211 test/textile-reader.textile
212 test/mediawiki-reader.wiki
213 test/vimwiki-reader.wiki
214 test/creole-reader.txt
215 test/creole-reader.native
219 test/s5-fragment.html
235 test/tables.mediawiki
238 test/tables.opendocument
260 test/writer.mediawiki
262 test/writer.opendocument
276 test/writers-lang-and-dir.latex
277 test/writers-lang-and-dir.context
278 test/dokuwiki_inline_formatting.dokuwiki
279 test/lhs-test.markdown
280 test/lhs-test.markdown+lhs
282 test/lhs-test.rst+lhs
284 test/lhs-test.latex+lhs
286 test/lhs-test.html+lhs
287 test/lhs-test.fragment.html+lhs
289 test/dokuwiki_external_images.dokuwiki
290 test/dokuwiki_external_images.native
291 test/dokuwiki_multiblock_table.dokuwiki
292 test/dokuwiki_multiblock_table.native
295 test/fb2/images-embedded.html
296 test/fb2/images-embedded.fb2
297 test/fb2/test-small.png
304 test/twiki-reader.twiki
305 test/tikiwiki-reader.tikiwiki
307 test/odt/markdown/*.md
308 test/odt/native/*.native
310source-repository head
312 location: git://github.com/jgm/pandoc.git
315 Description: Use static linking for pandoc executable.
319 Description: Embed data files in binary for relocatable executable.
323 Description: Build trypandoc cgi executable.
327 Description: Build weigh-pandoc to measure memory usage.
331 Description: Get Network.URI from the network-uri package
335 Description: Use old-locale and time < 1.5
339 setup-depends: base, Cabal
342 build-depends: base >= 4.7 && < 5,
344 containers >= 0.4.2.1 && < 0.6,
345 unordered-containers >= 0.2 && < 0.3,
346 parsec >= 3.1 && < 3.2,
348 filepath >= 1.1 && < 1.5,
349 process >= 1.2.3 && < 1.7,
350 directory >= 1 && < 1.4,
351 bytestring >= 0.9 && < 0.11,
352 text >= 0.11 && < 1.3,
353 safe >= 0.3 && < 0.4,
354 zip-archive >= 0.2.3.4 && < 0.4,
355 HTTP >= 4000.0.5 && < 4000.4,
356 texmath >= 0.10 && < 0.11,
357 xml >= 1.3.12 && < 1.4,
358 split >= 0.2 && < 0.3,
359 random >= 1 && < 1.2,
360 pandoc-types >= 1.17.3 && < 1.18,
361 aeson >= 0.7 && < 1.3,
362 aeson-pretty >= 0.8 && < 0.9,
363 tagsoup >= 0.14.2 && < 0.15,
364 base64-bytestring >= 0.1 && < 1.1,
365 zlib >= 0.5 && < 0.7,
366 skylighting >= 0.5 && < 0.6,
367 data-default >= 0.4 && < 0.8,
368 temporary >= 1.1 && < 1.3,
369 blaze-html >= 0.5 && < 0.10,
370 blaze-markup >= 0.5.1 && < 0.9,
371 yaml >= 0.8.8.2 && < 0.9,
372 scientific >= 0.2 && < 0.4,
373 vector >= 0.10 && < 0.13,
374 hslua >= 0.9.3 && < 0.10,
375 hslua-module-text >= 0.1.2 && < 0.2,
376 binary >= 0.5 && < 0.10,
378 haddock-library >= 1.1 && < 1.5,
379 deepseq >= 1.3 && < 1.5,
380 JuicyPixels >= 3.1.6.1 && < 3.3,
381 Glob >= 0.7 && < 0.10,
382 cmark-gfm >= 0.1.1 && < 0.2,
383 doctemplates >= 0.2.1 && < 0.3,
384 http-client >= 0.4.30 && < 0.6,
385 http-client-tls >= 0.2.4 && < 0.4,
386 http-types >= 0.8 && < 0.12,
387 case-insensitive >= 1.2 && < 1.3
389 cpp-options: -D_WINDOWS
391 build-depends: unix >= 2.4 && < 2.8
393 build-depends: old-locale >= 1 && < 1.1,
396 build-depends: time >= 1.5 && < 1.9
398 build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
400 build-depends: network >= 2 && < 2.6
401 if flag(embed_data_files)
402 cpp-options: -DEMBED_DATA_FILES
403 build-depends: file-embed >= 0.0 && < 0.1
404 other-modules: Text.Pandoc.Data
406 cpp-options: -D_WINDOWS
407 ghc-options: -Wall -fno-warn-unused-do-bind
408 ghc-prof-options: -fprof-auto-exported
409 default-language: Haskell98
410 other-extensions: PatternGuards, OverloadedStrings,
411 ScopedTypeVariables, GeneralizedNewtypeDeriving,
412 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
416 hs-source-dirs: prelude
417 other-modules: Prelude
419 exposed-modules: Text.Pandoc,
422 Text.Pandoc.Extensions,
425 Text.Pandoc.MediaBag,
428 Text.Pandoc.Readers.HTML,
429 Text.Pandoc.Readers.LaTeX,
430 Text.Pandoc.Readers.LaTeX.Types,
431 Text.Pandoc.Readers.Markdown,
432 Text.Pandoc.Readers.CommonMark,
433 Text.Pandoc.Readers.Creole,
434 Text.Pandoc.Readers.MediaWiki,
435 Text.Pandoc.Readers.Vimwiki,
436 Text.Pandoc.Readers.RST,
437 Text.Pandoc.Readers.Org,
438 Text.Pandoc.Readers.DocBook,
439 Text.Pandoc.Readers.OPML,
440 Text.Pandoc.Readers.Textile,
441 Text.Pandoc.Readers.Native,
442 Text.Pandoc.Readers.Haddock,
443 Text.Pandoc.Readers.TWiki,
444 Text.Pandoc.Readers.TikiWiki,
445 Text.Pandoc.Readers.Txt2Tags,
446 Text.Pandoc.Readers.Docx,
447 Text.Pandoc.Readers.Odt,
448 Text.Pandoc.Readers.EPUB,
449 Text.Pandoc.Readers.Muse,
451 Text.Pandoc.Writers.Native,
452 Text.Pandoc.Writers.Docbook,
453 Text.Pandoc.Writers.JATS,
454 Text.Pandoc.Writers.OPML,
455 Text.Pandoc.Writers.HTML,
456 Text.Pandoc.Writers.ICML,
457 Text.Pandoc.Writers.LaTeX,
458 Text.Pandoc.Writers.ConTeXt,
459 Text.Pandoc.Writers.OpenDocument,
460 Text.Pandoc.Writers.Texinfo,
461 Text.Pandoc.Writers.Man,
462 Text.Pandoc.Writers.Ms,
463 Text.Pandoc.Writers.Markdown,
464 Text.Pandoc.Writers.CommonMark,
465 Text.Pandoc.Writers.Haddock,
466 Text.Pandoc.Writers.RST,
467 Text.Pandoc.Writers.Org,
468 Text.Pandoc.Writers.AsciiDoc,
469 Text.Pandoc.Writers.Custom,
470 Text.Pandoc.Writers.Textile,
471 Text.Pandoc.Writers.MediaWiki,
472 Text.Pandoc.Writers.DokuWiki,
473 Text.Pandoc.Writers.ZimWiki,
474 Text.Pandoc.Writers.RTF,
475 Text.Pandoc.Writers.ODT,
476 Text.Pandoc.Writers.Docx,
477 Text.Pandoc.Writers.Powerpoint,
478 Text.Pandoc.Writers.EPUB,
479 Text.Pandoc.Writers.FB2,
480 Text.Pandoc.Writers.TEI,
481 Text.Pandoc.Writers.Muse,
482 Text.Pandoc.Writers.Math,
483 Text.Pandoc.Writers.Shared,
484 Text.Pandoc.Writers.OOXML,
488 Text.Pandoc.Templates,
490 Text.Pandoc.SelfContained,
491 Text.Pandoc.Highlighting,
498 Text.Pandoc.ImageSize,
501 other-modules: Text.Pandoc.Readers.Docx.Lists,
502 Text.Pandoc.Readers.Docx.Combine,
503 Text.Pandoc.Readers.Docx.Parse,
504 Text.Pandoc.Readers.Docx.Util,
505 Text.Pandoc.Readers.Docx.StyleMap,
506 Text.Pandoc.Readers.Odt.Base,
507 Text.Pandoc.Readers.Odt.Namespaces,
508 Text.Pandoc.Readers.Odt.StyleReader,
509 Text.Pandoc.Readers.Odt.ContentReader,
510 Text.Pandoc.Readers.Odt.Generic.Fallible,
511 Text.Pandoc.Readers.Odt.Generic.SetMap,
512 Text.Pandoc.Readers.Odt.Generic.Utils,
513 Text.Pandoc.Readers.Odt.Generic.Namespaces,
514 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
515 Text.Pandoc.Readers.Odt.Arrows.State,
516 Text.Pandoc.Readers.Odt.Arrows.Utils,
517 Text.Pandoc.Readers.Org.BlockStarts,
518 Text.Pandoc.Readers.Org.Blocks,
519 Text.Pandoc.Readers.Org.DocumentTree,
520 Text.Pandoc.Readers.Org.ExportSettings,
521 Text.Pandoc.Readers.Org.Inlines,
522 Text.Pandoc.Readers.Org.Meta,
523 Text.Pandoc.Readers.Org.ParserState,
524 Text.Pandoc.Readers.Org.Parsing,
525 Text.Pandoc.Readers.Org.Shared,
526 Text.Pandoc.Lua.Packages,
527 Text.Pandoc.Lua.PandocModule,
528 Text.Pandoc.Lua.Filter,
529 Text.Pandoc.Lua.StackInstances,
530 Text.Pandoc.Lua.Util,
534 Text.Pandoc.Translations,
536 Text.Pandoc.Compat.Time,
542 build-depends: pandoc, base >= 4.7 && < 5
543 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
544 ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
547 default-language: Haskell98
548 other-extensions: PatternGuards, OverloadedStrings,
549 ScopedTypeVariables, GeneralizedNewtypeDeriving,
550 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
554 hs-source-dirs: prelude
555 other-modules: Prelude
558 other-modules: Paths_pandoc
561 main-is: trypandoc.hs
562 hs-source-dirs: trypandoc
564 hs-source-dirs: prelude
565 other-modules: Prelude
566 default-language: Haskell2010
568 build-depends: base, aeson, pandoc,
569 text, wai-extra, wai >= 0.3, http-types
574executable weigh-pandoc
575 main-is: weigh-pandoc.hs
576 hs-source-dirs: benchmark
578 hs-source-dirs: prelude
579 other-modules: Prelude
580 if flag(weigh-pandoc)
581 build-depends: pandoc,
584 weigh >= 0.0 && < 0.1,
589 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
590 default-language: Haskell98
592test-suite test-pandoc
593 type: exitcode-stdio-1.0
594 main-is: test-pandoc.hs
597 hs-source-dirs: prelude
598 other-modules: Prelude
599 build-depends: base >= 4.2 && < 5,
601 pandoc-types >= 1.17.3 && < 1.18,
602 bytestring >= 0.9 && < 0.11,
603 text >= 0.11 && < 1.3,
604 directory >= 1 && < 1.4,
605 filepath >= 1.1 && < 1.5,
606 hslua >= 0.9 && < 0.10,
607 process >= 1.2.3 && < 1.7,
608 temporary >= 1.1 && < 1.3,
609 Diff >= 0.2 && < 0.4,
610 tasty >= 0.11 && < 0.13,
611 tasty-hunit >= 0.9 && < 0.11,
612 tasty-quickcheck >= 0.8 && < 0.10,
613 tasty-golden >= 2.3 && < 2.4,
614 QuickCheck >= 2.4 && < 2.11,
615 containers >= 0.4.2.1 && < 0.6,
616 executable-path >= 0.0 && < 0.1,
617 zip-archive >= 0.2.3.4 && < 0.4
618 other-modules: Tests.Old
625 Tests.Readers.Markdown
630 Tests.Readers.Txt2Tags
635 Tests.Writers.ConTeXt
636 Tests.Writers.Docbook
638 Tests.Writers.Markdown
641 Tests.Writers.AsciiDoc
648 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
649 default-language: Haskell98
651benchmark benchmark-pandoc
652 type: exitcode-stdio-1.0
653 main-is: benchmark-pandoc.hs
654 hs-source-dirs: benchmark
656 hs-source-dirs: prelude
657 other-modules: Prelude
658 build-depends: pandoc,
659 time, bytestring, containers,
661 text >= 0.11 && < 1.3,
662 criterion >= 1.0 && < 1.3
663 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
664 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