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: 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, 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, 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/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/thumbnail.jpeg
106 data/pptx/docProps/app.xml
107 data/pptx/docProps/core.xml
108 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
109 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
110 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
111 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
112 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout6.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/slideLayout9.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
118 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
119 data/pptx/ppt/slideLayouts/slideLayout1.xml
120 data/pptx/ppt/slideLayouts/slideLayout2.xml
121 data/pptx/ppt/slideLayouts/slideLayout3.xml
122 data/pptx/ppt/slideLayouts/slideLayout4.xml
123 data/pptx/ppt/slideLayouts/slideLayout5.xml
124 data/pptx/ppt/slideLayouts/slideLayout6.xml
125 data/pptx/ppt/slideLayouts/slideLayout7.xml
126 data/pptx/ppt/slideLayouts/slideLayout8.xml
127 data/pptx/ppt/slideLayouts/slideLayout9.xml
128 data/pptx/ppt/slideLayouts/slideLayout10.xml
129 data/pptx/ppt/slideLayouts/slideLayout11.xml
130 data/pptx/ppt/_rels/presentation.xml.rels
131 data/pptx/ppt/theme/theme1.xml
132 data/pptx/ppt/presProps.xml
133 data/pptx/ppt/slides/_rels/slide1.xml.rels
134 data/pptx/ppt/slides/_rels/slide2.xml.rels
135 data/pptx/ppt/slides/slide2.xml
136 data/pptx/ppt/slides/slide1.xml
137 data/pptx/ppt/viewProps.xml
138 data/pptx/ppt/tableStyles.xml
139 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
140 data/pptx/ppt/slideMasters/slideMaster1.xml
141 data/pptx/ppt/presentation.xml
142 data/pptx/[Content_Types].xml
143 -- stylesheet for EPUB writer
145 -- data for LaTeXMathML writer
147 -- data for dzslides writer
148 data/dzslides/template.html
149 -- default abbreviations file
151 -- sample lua custom writer
159 -- bash completion template
160 data/bash_completion.tpl
164 MANUAL.txt, COPYRIGHT
167 INSTALL.md, AUTHORS.md, README.md,
168 CONTRIBUTING.md, BUGS, changelog,
172 -- files needed to build man page
174 man/pandoc.1.template
182 test/command/3533-rst-csv-tables.csv
183 test/command/3880.txt
185 test/command/SVG_logo-without-xml-declaration.svg
186 test/command/SVG_logo.svg
187 test/command/corrupt.svg
188 test/command/inkscape-cube.svg
189 test/command/sub-file-chapter-1.tex
190 test/command/sub-file-chapter-2.tex
191 test/command/3510-subdoc.org
192 test/command/3510-export.latex
193 test/command/3510-src.hs
194 test/command/3971b.tex
195 test/docbook-reader.docbook
196 test/docbook-xref.docbook
197 test/html-reader.html
198 test/opml-reader.opml
199 test/haddock-reader.haddock
206 test/latex-reader.latex
207 test/textile-reader.textile
208 test/markdown-reader-more.txt
209 test/markdown-citations.txt
210 test/textile-reader.textile
211 test/mediawiki-reader.wiki
212 test/vimwiki-reader.wiki
213 test/creole-reader.txt
214 test/creole-reader.native
219 test/s5-fragment.html
235 test/tables.mediawiki
238 test/tables.opendocument
261 test/writer.mediawiki
263 test/writer.opendocument
278 test/writers-lang-and-dir.latex
279 test/writers-lang-and-dir.context
280 test/dokuwiki_inline_formatting.dokuwiki
281 test/lhs-test.markdown
282 test/lhs-test.markdown+lhs
284 test/lhs-test.rst+lhs
286 test/lhs-test.latex+lhs
288 test/lhs-test.html+lhs
289 test/lhs-test.fragment.html+lhs
291 test/dokuwiki_external_images.dokuwiki
292 test/dokuwiki_external_images.native
293 test/dokuwiki_multiblock_table.dokuwiki
294 test/dokuwiki_multiblock_table.native
297 test/fb2/images-embedded.html
298 test/fb2/images-embedded.fb2
299 test/fb2/test-small.png
306 test/twiki-reader.twiki
307 test/tikiwiki-reader.tikiwiki
309 test/odt/markdown/*.md
310 test/odt/native/*.native
312source-repository head
314 location: git://github.com/jgm/pandoc.git
317 Description: Use static linking for pandoc executable.
321 Description: Embed data files in binary for relocatable executable.
325 Description: Build trypandoc cgi executable.
329 Description: Build weigh-pandoc to measure memory usage.
333 Description: Get Network.URI from the network-uri package
337 Description: Use old-locale and time < 1.5
341 setup-depends: base, Cabal
344 build-depends: base >= 4.7 && < 5,
346 containers >= 0.4.2.1 && < 0.6,
347 unordered-containers >= 0.2 && < 0.3,
348 parsec >= 3.1 && < 3.2,
350 filepath >= 1.1 && < 1.5,
351 process >= 1.2.3 && < 1.7,
352 directory >= 1 && < 1.4,
353 bytestring >= 0.9 && < 0.11,
354 text >= 0.11 && < 1.3,
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.10 && < 0.11,
359 xml >= 1.3.12 && < 1.4,
360 split >= 0.2 && < 0.3,
361 random >= 1 && < 1.2,
362 pandoc-types >= 1.17.3 && < 1.18,
363 aeson >= 0.7 && < 1.3,
364 aeson-pretty >= 0.8 && < 0.9,
365 tagsoup >= 0.14.2 && < 0.15,
366 base64-bytestring >= 0.1 && < 1.1,
367 zlib >= 0.5 && < 0.7,
368 skylighting >= 0.5.1 && < 0.6,
369 data-default >= 0.4 && < 0.8,
370 temporary >= 1.1 && < 1.3,
371 blaze-html >= 0.5 && < 0.10,
372 blaze-markup >= 0.5.1 && < 0.9,
373 yaml >= 0.8.8.2 && < 0.9,
374 scientific >= 0.2 && < 0.4,
375 vector >= 0.10 && < 0.13,
376 hslua >= 0.9.5 && < 0.10,
377 hslua-module-text >= 0.1.2 && < 0.2,
378 binary >= 0.5 && < 0.10,
380 haddock-library >= 1.1 && < 1.5,
381 deepseq >= 1.3 && < 1.5,
382 JuicyPixels >= 3.1.6.1 && < 3.3,
383 Glob >= 0.7 && < 0.10,
384 cmark-gfm >= 0.1.1 && < 0.2,
385 doctemplates >= 0.2.1 && < 0.3,
386 http-client >= 0.4.30 && < 0.6,
387 http-client-tls >= 0.2.4 && < 0.4,
388 http-types >= 0.8 && < 0.12,
389 case-insensitive >= 1.2 && < 1.3
391 cpp-options: -D_WINDOWS
393 build-depends: unix >= 2.4 && < 2.8
395 build-depends: old-locale >= 1 && < 1.1,
398 build-depends: time >= 1.5 && < 1.9
400 build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
402 build-depends: network >= 2 && < 2.6
403 if flag(embed_data_files)
404 cpp-options: -DEMBED_DATA_FILES
405 build-depends: file-embed >= 0.0 && < 0.1
406 other-modules: Text.Pandoc.Data
408 cpp-options: -D_WINDOWS
409 ghc-options: -Wall -fno-warn-unused-do-bind
410 ghc-prof-options: -fprof-auto-exported
411 default-language: Haskell98
412 other-extensions: PatternGuards, OverloadedStrings,
413 ScopedTypeVariables, GeneralizedNewtypeDeriving,
414 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
418 hs-source-dirs: prelude
419 other-modules: Prelude
421 exposed-modules: Text.Pandoc,
424 Text.Pandoc.Extensions,
427 Text.Pandoc.MediaBag,
430 Text.Pandoc.Readers.HTML,
431 Text.Pandoc.Readers.LaTeX,
432 Text.Pandoc.Readers.LaTeX.Types,
433 Text.Pandoc.Readers.Markdown,
434 Text.Pandoc.Readers.CommonMark,
435 Text.Pandoc.Readers.Creole,
436 Text.Pandoc.Readers.MediaWiki,
437 Text.Pandoc.Readers.Vimwiki,
438 Text.Pandoc.Readers.RST,
439 Text.Pandoc.Readers.Org,
440 Text.Pandoc.Readers.DocBook,
441 Text.Pandoc.Readers.JATS,
442 Text.Pandoc.Readers.OPML,
443 Text.Pandoc.Readers.Textile,
444 Text.Pandoc.Readers.Native,
445 Text.Pandoc.Readers.Haddock,
446 Text.Pandoc.Readers.TWiki,
447 Text.Pandoc.Readers.TikiWiki,
448 Text.Pandoc.Readers.Txt2Tags,
449 Text.Pandoc.Readers.Docx,
450 Text.Pandoc.Readers.Odt,
451 Text.Pandoc.Readers.EPUB,
452 Text.Pandoc.Readers.Muse,
454 Text.Pandoc.Writers.Native,
455 Text.Pandoc.Writers.Docbook,
456 Text.Pandoc.Writers.JATS,
457 Text.Pandoc.Writers.OPML,
458 Text.Pandoc.Writers.HTML,
459 Text.Pandoc.Writers.ICML,
460 Text.Pandoc.Writers.LaTeX,
461 Text.Pandoc.Writers.ConTeXt,
462 Text.Pandoc.Writers.OpenDocument,
463 Text.Pandoc.Writers.Texinfo,
464 Text.Pandoc.Writers.Man,
465 Text.Pandoc.Writers.Ms,
466 Text.Pandoc.Writers.Markdown,
467 Text.Pandoc.Writers.CommonMark,
468 Text.Pandoc.Writers.Haddock,
469 Text.Pandoc.Writers.RST,
470 Text.Pandoc.Writers.Org,
471 Text.Pandoc.Writers.AsciiDoc,
472 Text.Pandoc.Writers.Custom,
473 Text.Pandoc.Writers.Textile,
474 Text.Pandoc.Writers.MediaWiki,
475 Text.Pandoc.Writers.DokuWiki,
476 Text.Pandoc.Writers.ZimWiki,
477 Text.Pandoc.Writers.RTF,
478 Text.Pandoc.Writers.ODT,
479 Text.Pandoc.Writers.Docx,
480 Text.Pandoc.Writers.Powerpoint,
481 Text.Pandoc.Writers.EPUB,
482 Text.Pandoc.Writers.FB2,
483 Text.Pandoc.Writers.TEI,
484 Text.Pandoc.Writers.Muse,
485 Text.Pandoc.Writers.Math,
486 Text.Pandoc.Writers.Shared,
487 Text.Pandoc.Writers.OOXML,
491 Text.Pandoc.Templates,
493 Text.Pandoc.SelfContained,
494 Text.Pandoc.Highlighting,
501 Text.Pandoc.ImageSize,
504 other-modules: 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.Odt.Base,
510 Text.Pandoc.Readers.Odt.Namespaces,
511 Text.Pandoc.Readers.Odt.StyleReader,
512 Text.Pandoc.Readers.Odt.ContentReader,
513 Text.Pandoc.Readers.Odt.Generic.Fallible,
514 Text.Pandoc.Readers.Odt.Generic.SetMap,
515 Text.Pandoc.Readers.Odt.Generic.Utils,
516 Text.Pandoc.Readers.Odt.Generic.Namespaces,
517 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
518 Text.Pandoc.Readers.Odt.Arrows.State,
519 Text.Pandoc.Readers.Odt.Arrows.Utils,
520 Text.Pandoc.Readers.Org.BlockStarts,
521 Text.Pandoc.Readers.Org.Blocks,
522 Text.Pandoc.Readers.Org.DocumentTree,
523 Text.Pandoc.Readers.Org.ExportSettings,
524 Text.Pandoc.Readers.Org.Inlines,
525 Text.Pandoc.Readers.Org.Meta,
526 Text.Pandoc.Readers.Org.ParserState,
527 Text.Pandoc.Readers.Org.Parsing,
528 Text.Pandoc.Readers.Org.Shared,
529 Text.Pandoc.Lua.Filter,
530 Text.Pandoc.Lua.Init,
531 Text.Pandoc.Lua.Module.MediaBag,
532 Text.Pandoc.Lua.Module.Pandoc,
533 Text.Pandoc.Lua.Module.Utils,
534 Text.Pandoc.Lua.Packages,
535 Text.Pandoc.Lua.StackInstances,
536 Text.Pandoc.Lua.Util,
540 Text.Pandoc.Translations,
542 Text.Pandoc.Compat.Time,
548 build-depends: pandoc, base >= 4.7 && < 5
549 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
550 ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
553 default-language: Haskell98
554 other-extensions: PatternGuards, OverloadedStrings,
555 ScopedTypeVariables, GeneralizedNewtypeDeriving,
556 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
560 hs-source-dirs: prelude
561 other-modules: Prelude
564 other-modules: Paths_pandoc
567 main-is: trypandoc.hs
568 hs-source-dirs: trypandoc
570 hs-source-dirs: prelude
571 other-modules: Prelude
572 default-language: Haskell2010
574 build-depends: base, aeson, pandoc,
575 text, wai-extra, wai >= 0.3, http-types
580executable weigh-pandoc
581 main-is: weigh-pandoc.hs
582 hs-source-dirs: benchmark
584 hs-source-dirs: prelude
585 other-modules: Prelude
586 if flag(weigh-pandoc)
587 build-depends: pandoc,
590 weigh >= 0.0 && < 0.1,
595 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
596 default-language: Haskell98
598test-suite test-pandoc
599 type: exitcode-stdio-1.0
600 main-is: test-pandoc.hs
603 hs-source-dirs: prelude
604 other-modules: Prelude
605 build-depends: base >= 4.2 && < 5,
607 pandoc-types >= 1.17.3 && < 1.18,
608 bytestring >= 0.9 && < 0.11,
609 base64-bytestring >= 0.1 && < 1.1,
610 text >= 0.11 && < 1.3,
611 time >= 1.5 && < 1.9,
612 directory >= 1 && < 1.4,
613 filepath >= 1.1 && < 1.5,
614 hslua >= 0.9 && < 0.10,
615 process >= 1.2.3 && < 1.7,
616 temporary >= 1.1 && < 1.3,
617 Diff >= 0.2 && < 0.4,
618 tasty >= 0.11 && < 0.13,
619 tasty-hunit >= 0.9 && < 0.11,
620 tasty-quickcheck >= 0.8 && < 0.10,
621 tasty-golden >= 2.3 && < 2.4,
622 QuickCheck >= 2.4 && < 2.11,
623 containers >= 0.4.2.1 && < 0.6,
624 executable-path >= 0.0 && < 0.1,
625 zip-archive >= 0.2.3.4 && < 0.4,
626 xml >= 1.3.12 && < 1.4
628 build-depends: old-locale >= 1 && < 1.1,
631 build-depends: time >= 1.5 && < 1.9
632 other-modules: Tests.Old
640 Tests.Readers.Markdown
642 Tests.Readers.Org.Block
643 Tests.Readers.Org.Block.CodeBlock
644 Tests.Readers.Org.Block.Figure
645 Tests.Readers.Org.Block.Header
646 Tests.Readers.Org.Block.List
647 Tests.Readers.Org.Block.Table
648 Tests.Readers.Org.Directive
649 Tests.Readers.Org.Inline
650 Tests.Readers.Org.Inline.Note
651 Tests.Readers.Org.Inline.Smart
652 Tests.Readers.Org.Meta
653 Tests.Readers.Org.Shared
657 Tests.Readers.Txt2Tags
662 Tests.Writers.ConTeXt
663 Tests.Writers.Docbook
666 Tests.Writers.Markdown
669 Tests.Writers.AsciiDoc
676 Tests.Writers.Powerpoint
677 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
678 default-language: Haskell98
680benchmark benchmark-pandoc
681 type: exitcode-stdio-1.0
682 main-is: benchmark-pandoc.hs
683 hs-source-dirs: benchmark
685 hs-source-dirs: prelude
686 other-modules: Prelude
687 build-depends: pandoc,
688 time, bytestring, containers,
690 text >= 0.11 && < 1.3,
691 criterion >= 1.0 && < 1.3
692 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
693 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