6license-file: COPYING.md
7copyright: (c) 2006-2018 John MacFarlane
8author: John MacFarlane <jgm@berkeley.edu>
9maintainer: John MacFarlane <jgm@berkeley.edu>
10bug-reports: https://github.com/jgm/pandoc/issues
12homepage: https://pandoc.org
14tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3
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, JATS,
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, EPUB, FictionBook2, and Textile,
23 and it can write Markdown, reStructuredText, XHTML, HTML 5,
24 LaTeX, ConTeXt, DocBook, JATS, OPML, TEI, OpenDocument,
25 ODT, Word docx, RTF, MediaWiki, DokuWiki, ZimWiki, Textile,
26 groff man, 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/comments.xml
85 data/docx/word/footnotes.xml
86 data/docx/word/numbering.xml
87 data/docx/word/settings.xml
88 data/docx/word/webSettings.xml
89 data/docx/word/styles.xml
90 data/docx/word/_rels/document.xml.rels
91 data/docx/word/_rels/footnotes.xml.rels
92 data/docx/word/theme/theme1.xml
93 -- source files for reference.odt
100 data/odt/Configurations2/accelerator/current.xml
101 data/odt/Thumbnails/thumbnail.png
102 data/odt/META-INF/manifest.xml
103 -- source files for reference.pptx
104 data/pptx/_rels/.rels
105 data/pptx/docProps/app.xml
106 data/pptx/docProps/core.xml
107 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
108 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
109 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
110 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
111 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
112 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
114 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
115 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
116 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
118 data/pptx/ppt/slideLayouts/slideLayout1.xml
119 data/pptx/ppt/slideLayouts/slideLayout2.xml
120 data/pptx/ppt/slideLayouts/slideLayout3.xml
121 data/pptx/ppt/slideLayouts/slideLayout4.xml
122 data/pptx/ppt/slideLayouts/slideLayout5.xml
123 data/pptx/ppt/slideLayouts/slideLayout6.xml
124 data/pptx/ppt/slideLayouts/slideLayout7.xml
125 data/pptx/ppt/slideLayouts/slideLayout8.xml
126 data/pptx/ppt/slideLayouts/slideLayout9.xml
127 data/pptx/ppt/slideLayouts/slideLayout10.xml
128 data/pptx/ppt/slideLayouts/slideLayout11.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/ppt/notesMasters/_rels/notesMaster1.xml.rels
142 data/pptx/ppt/notesMasters/notesMaster1.xml
143 data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
144 data/pptx/ppt/notesSlides/notesSlide1.xml
145 data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
146 data/pptx/ppt/notesSlides/notesSlide2.xml
147 data/pptx/ppt/theme/theme2.xml
148 data/pptx/[Content_Types].xml
149 -- stylesheet for EPUB writer
151 -- data for dzslides writer
152 data/dzslides/template.html
153 -- default abbreviations file
155 -- sample lua custom writer
163 -- bash completion template
164 data/bash_completion.tpl
168 MANUAL.txt, COPYRIGHT
171 INSTALL.md, AUTHORS.md, README.md,
172 CONTRIBUTING.md, BUGS, changelog,
176 -- files needed to build man page
178 man/pandoc.1.template
186 test/command/3533-rst-csv-tables.csv
187 test/command/3880.txt
189 test/command/SVG_logo-without-xml-declaration.svg
190 test/command/SVG_logo.svg
191 test/command/corrupt.svg
192 test/command/inkscape-cube.svg
193 test/command/sub-file-chapter-1.tex
194 test/command/sub-file-chapter-2.tex
196 test/command/3510-subdoc.org
197 test/command/3510-export.latex
198 test/command/3510-src.hs
199 test/command/3971b.tex
200 test/docbook-reader.docbook
201 test/docbook-xref.docbook
202 test/html-reader.html
203 test/opml-reader.opml
204 test/haddock-reader.haddock
211 test/latex-reader.latex
212 test/textile-reader.textile
213 test/markdown-reader-more.txt
214 test/markdown-citations.txt
215 test/textile-reader.textile
216 test/mediawiki-reader.wiki
217 test/vimwiki-reader.wiki
218 test/creole-reader.txt
219 test/creole-reader.native
224 test/s5-fragment.html
240 test/tables.mediawiki
243 test/tables.opendocument
266 test/writer.mediawiki
268 test/writer.opendocument
283 test/writers-lang-and-dir.latex
284 test/writers-lang-and-dir.context
285 test/dokuwiki_inline_formatting.dokuwiki
286 test/lhs-test.markdown
287 test/lhs-test.markdown+lhs
289 test/lhs-test.rst+lhs
291 test/lhs-test.latex+lhs
293 test/lhs-test.html+lhs
294 test/lhs-test.fragment.html+lhs
296 test/dokuwiki_external_images.dokuwiki
297 test/dokuwiki_external_images.native
298 test/dokuwiki_multiblock_table.dokuwiki
299 test/dokuwiki_multiblock_table.native
302 test/fb2/images-embedded.html
303 test/fb2/images-embedded.fb2
304 test/fb2/test-small.png
305 test/fb2/reader/*.fb2
306 test/fb2/reader/*.native
309 test/docx/golden/*.docx
316 test/twiki-reader.twiki
317 test/tikiwiki-reader.tikiwiki
319 test/odt/markdown/*.md
320 test/odt/native/*.native
322source-repository head
324 location: git://github.com/jgm/pandoc.git
327 Description: Use static linking for pandoc executable.
331 Description: Embed data files in binary for relocatable executable.
335 Description: Build trypandoc cgi executable.
339 setup-depends: base, Cabal >= 2.0
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 exceptions >= 0.8 && < 0.11,
349 filepath >= 1.1 && < 1.5,
350 process >= 1.2.3 && < 1.7,
351 directory >= 1 && < 1.4,
352 bytestring >= 0.9 && < 0.11,
353 text >= 0.11 && < 1.3,
354 time >= 1.5 && < 1.10,
355 safe >= 0.3 && < 0.4,
356 zip-archive >= 0.2.3.4 && < 0.4,
357 HTTP >= 4000.0.5 && < 4000.4,
358 texmath >= 0.11 && < 0.12,
359 xml >= 1.3.12 && < 1.4,
360 split >= 0.2 && < 0.3,
361 random >= 1 && < 1.2,
362 pandoc-types >= 1.17.5 && < 1.18,
363 aeson >= 0.7 && < 1.5,
364 aeson-pretty >= 0.8.5 && < 0.9,
365 tagsoup >= 0.14.6 && < 0.15,
366 base64-bytestring >= 0.1 && < 1.1,
367 zlib >= 0.5 && < 0.7,
368 skylighting >= 0.7.2 && < 0.8,
369 data-default >= 0.4 && < 0.8,
370 temporary >= 1.1 && < 1.4,
371 blaze-html >= 0.9 && < 0.10,
372 blaze-markup >= 0.8 && < 0.9,
373 vector >= 0.10 && < 0.13,
374 hslua >= 0.9.5 && < 0.9.6,
375 hslua-module-text >= 0.1.2 && < 0.2,
376 binary >= 0.5 && < 0.10,
378 haddock-library >= 1.6 && < 1.7,
379 deepseq >= 1.3 && < 1.5,
380 JuicyPixels >= 3.1.6.1 && < 3.4,
381 Glob >= 0.7 && < 0.10,
382 cmark-gfm >= 0.1.1 && < 0.2,
383 doctemplates >= 0.2.1 && < 0.3,
384 network-uri >= 2.6 && < 2.7,
386 http-client >= 0.4.30 && < 0.6,
387 http-client-tls >= 0.2.4 && < 0.4,
388 http-types >= 0.8 && < 0.13,
389 case-insensitive >= 1.2 && < 1.3,
390 HsYAML >= 0.1.1.1 && < 0.2
392 build-depends: semigroups == 0.18.*,
393 -- basement 0.0.8 and foundation 0.0.21, transitive
394 -- dependencies, drop support for ghc 7.10:
398 hs-source-dirs: prelude
399 other-modules: Prelude
400 build-depends: base-compat >= 0.9
402 cpp-options: -D_WINDOWS
404 build-depends: unix >= 2.4 && < 2.8
405 if flag(embed_data_files)
406 cpp-options: -DEMBED_DATA_FILES
407 build-depends: file-embed >= 0.0 && < 0.1
408 other-modules: Text.Pandoc.Data
410 cpp-options: -D_WINDOWS
411 ghc-options: -Wall -fno-warn-unused-do-bind
412 default-language: Haskell2010
413 other-extensions: NoImplicitPrelude
416 exposed-modules: Text.Pandoc,
419 Text.Pandoc.Extensions,
422 Text.Pandoc.MediaBag,
425 Text.Pandoc.Readers.HTML,
426 Text.Pandoc.Readers.LaTeX,
427 Text.Pandoc.Readers.LaTeX.Types,
428 Text.Pandoc.Readers.Markdown,
429 Text.Pandoc.Readers.CommonMark,
430 Text.Pandoc.Readers.Creole,
431 Text.Pandoc.Readers.MediaWiki,
432 Text.Pandoc.Readers.Vimwiki,
433 Text.Pandoc.Readers.RST,
434 Text.Pandoc.Readers.Org,
435 Text.Pandoc.Readers.DocBook,
436 Text.Pandoc.Readers.JATS,
437 Text.Pandoc.Readers.OPML,
438 Text.Pandoc.Readers.Textile,
439 Text.Pandoc.Readers.Native,
440 Text.Pandoc.Readers.Haddock,
441 Text.Pandoc.Readers.TWiki,
442 Text.Pandoc.Readers.TikiWiki,
443 Text.Pandoc.Readers.Txt2Tags,
444 Text.Pandoc.Readers.Docx,
445 Text.Pandoc.Readers.Odt,
446 Text.Pandoc.Readers.EPUB,
447 Text.Pandoc.Readers.Muse,
448 Text.Pandoc.Readers.FB2,
450 Text.Pandoc.Writers.Native,
451 Text.Pandoc.Writers.Docbook,
452 Text.Pandoc.Writers.JATS,
453 Text.Pandoc.Writers.OPML,
454 Text.Pandoc.Writers.HTML,
455 Text.Pandoc.Writers.ICML,
456 Text.Pandoc.Writers.LaTeX,
457 Text.Pandoc.Writers.ConTeXt,
458 Text.Pandoc.Writers.OpenDocument,
459 Text.Pandoc.Writers.Texinfo,
460 Text.Pandoc.Writers.Man,
461 Text.Pandoc.Writers.Ms,
462 Text.Pandoc.Writers.Markdown,
463 Text.Pandoc.Writers.CommonMark,
464 Text.Pandoc.Writers.Haddock,
465 Text.Pandoc.Writers.RST,
466 Text.Pandoc.Writers.Org,
467 Text.Pandoc.Writers.AsciiDoc,
468 Text.Pandoc.Writers.Custom,
469 Text.Pandoc.Writers.Textile,
470 Text.Pandoc.Writers.MediaWiki,
471 Text.Pandoc.Writers.DokuWiki,
472 Text.Pandoc.Writers.ZimWiki,
473 Text.Pandoc.Writers.RTF,
474 Text.Pandoc.Writers.ODT,
475 Text.Pandoc.Writers.Docx,
476 Text.Pandoc.Writers.Powerpoint,
477 Text.Pandoc.Writers.EPUB,
478 Text.Pandoc.Writers.FB2,
479 Text.Pandoc.Writers.TEI,
480 Text.Pandoc.Writers.Muse,
481 Text.Pandoc.Writers.Math,
482 Text.Pandoc.Writers.Shared,
483 Text.Pandoc.Writers.OOXML,
487 Text.Pandoc.Templates,
489 Text.Pandoc.SelfContained,
490 Text.Pandoc.Highlighting,
497 Text.Pandoc.ImageSize,
500 other-modules: Text.Pandoc.Filter,
501 Text.Pandoc.Filter.JSON,
502 Text.Pandoc.Filter.Lua,
503 Text.Pandoc.Filter.Path,
504 Text.Pandoc.Readers.Docx.Lists,
505 Text.Pandoc.Readers.Docx.Combine,
506 Text.Pandoc.Readers.Docx.Parse,
507 Text.Pandoc.Readers.Docx.Util,
508 Text.Pandoc.Readers.Docx.StyleMap,
509 Text.Pandoc.Readers.Docx.Fields,
510 Text.Pandoc.Readers.Odt.Base,
511 Text.Pandoc.Readers.Odt.Namespaces,
512 Text.Pandoc.Readers.Odt.StyleReader,
513 Text.Pandoc.Readers.Odt.ContentReader,
514 Text.Pandoc.Readers.Odt.Generic.Fallible,
515 Text.Pandoc.Readers.Odt.Generic.SetMap,
516 Text.Pandoc.Readers.Odt.Generic.Utils,
517 Text.Pandoc.Readers.Odt.Generic.Namespaces,
518 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
519 Text.Pandoc.Readers.Odt.Arrows.State,
520 Text.Pandoc.Readers.Odt.Arrows.Utils,
521 Text.Pandoc.Readers.Org.BlockStarts,
522 Text.Pandoc.Readers.Org.Blocks,
523 Text.Pandoc.Readers.Org.DocumentTree,
524 Text.Pandoc.Readers.Org.ExportSettings,
525 Text.Pandoc.Readers.Org.Inlines,
526 Text.Pandoc.Readers.Org.Meta,
527 Text.Pandoc.Readers.Org.ParserState,
528 Text.Pandoc.Readers.Org.Parsing,
529 Text.Pandoc.Readers.Org.Shared,
530 Text.Pandoc.Writers.Powerpoint.Presentation,
531 Text.Pandoc.Writers.Powerpoint.Output,
532 Text.Pandoc.Lua.Filter,
533 Text.Pandoc.Lua.Init,
534 Text.Pandoc.Lua.Module.MediaBag,
535 Text.Pandoc.Lua.Module.Pandoc,
536 Text.Pandoc.Lua.Module.Utils,
537 Text.Pandoc.Lua.Packages,
538 Text.Pandoc.Lua.StackInstances,
539 Text.Pandoc.Lua.Util,
543 Text.Pandoc.Translations,
546 autogen-modules: Paths_pandoc
550 build-depends: pandoc, base >= 4.7 && < 5
552 build-depends: semigroups == 0.18.*
554 hs-source-dirs: prelude
555 other-modules: Prelude
556 build-depends: base-compat >= 0.9
557 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
560 default-language: Haskell2010
561 other-extensions: NoImplicitPrelude
565 other-modules: Paths_pandoc
568 main-is: trypandoc.hs
569 hs-source-dirs: trypandoc
570 default-language: Haskell2010
571 other-extensions: NoImplicitPrelude
573 build-depends: base, aeson, pandoc,
574 text, wai-extra, wai >= 0.3, http-types
579 build-depends: semigroups == 0.18.*
581 hs-source-dirs: prelude
582 other-modules: Prelude
583 build-depends: base-compat >= 0.9
585benchmark weigh-pandoc
586 type: exitcode-stdio-1.0
587 main-is: weigh-pandoc.hs
588 hs-source-dirs: benchmark
589 build-depends: pandoc,
592 weigh >= 0.0 && < 0.1,
595 build-depends: semigroups == 0.18.*
597 hs-source-dirs: prelude
598 other-modules: Prelude
599 build-depends: base-compat >= 0.9
600 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
601 default-language: Haskell2010
602 other-extensions: NoImplicitPrelude
604test-suite test-pandoc
605 type: exitcode-stdio-1.0
606 main-is: test-pandoc.hs
608 build-depends: base >= 4.2 && < 5,
610 pandoc-types >= 1.17.5 && < 1.18,
611 bytestring >= 0.9 && < 0.11,
612 base64-bytestring >= 0.1 && < 1.1,
613 text >= 0.11 && < 1.3,
614 time >= 1.5 && < 1.10,
615 directory >= 1 && < 1.4,
616 filepath >= 1.1 && < 1.5,
617 hslua >= 0.9.5 && < 0.9.6,
618 process >= 1.2.3 && < 1.7,
619 temporary >= 1.1 && < 1.4,
620 Diff >= 0.2 && < 0.4,
621 tasty >= 0.11 && < 1.2,
622 tasty-hunit >= 0.9 && < 0.11,
623 tasty-quickcheck >= 0.8 && < 0.11,
624 tasty-golden >= 2.3 && < 2.4,
625 QuickCheck >= 2.4 && < 2.12,
626 containers >= 0.4.2.1 && < 0.6,
627 executable-path >= 0.0 && < 0.1,
628 zip-archive >= 0.2.3.4 && < 0.4,
629 xml >= 1.3.12 && < 1.4,
630 Glob >= 0.7 && < 0.10
632 build-depends: semigroups == 0.18.*
634 hs-source-dirs: prelude
635 other-modules: Prelude
636 build-depends: base-compat >= 0.9
637 other-modules: Tests.Old
645 Tests.Readers.Markdown
647 Tests.Readers.Org.Block
648 Tests.Readers.Org.Block.CodeBlock
649 Tests.Readers.Org.Block.Figure
650 Tests.Readers.Org.Block.Header
651 Tests.Readers.Org.Block.List
652 Tests.Readers.Org.Block.Table
653 Tests.Readers.Org.Directive
654 Tests.Readers.Org.Inline
655 Tests.Readers.Org.Inline.Citation
656 Tests.Readers.Org.Inline.Note
657 Tests.Readers.Org.Inline.Smart
658 Tests.Readers.Org.Meta
659 Tests.Readers.Org.Shared
663 Tests.Readers.Txt2Tags
669 Tests.Writers.ConTeXt
670 Tests.Writers.Docbook
673 Tests.Writers.Markdown
676 Tests.Writers.AsciiDoc
683 Tests.Writers.Powerpoint
685 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
686 default-language: Haskell2010
687 other-extensions: NoImplicitPrelude
689benchmark benchmark-pandoc
690 type: exitcode-stdio-1.0
691 main-is: benchmark-pandoc.hs
692 hs-source-dirs: benchmark
693 build-depends: pandoc,
694 time, bytestring, containers,
696 text >= 0.11 && < 1.3,
697 criterion >= 1.0 && < 1.6
699 build-depends: semigroups == 0.18.*
701 hs-source-dirs: prelude
702 other-modules: Prelude
703 build-depends: base-compat >= 0.9
704 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
705 default-language: Haskell2010
706 other-extensions: NoImplicitPrelude
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