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.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 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, and several kinds of HTML/JavaScript slide
29 shows (S5, Slidy, Slideous, DZSlides, reveal.js).
31 In contrast to most existing tools for converting Markdown
32 to HTML, pandoc has a modular design: it consists of a set of
33 readers, which parse text in a given format and produce a
34 native representation of the document, and a set of writers,
35 which convert this native representation into a target
36 format. Thus, adding an input or output format requires
37 only adding a reader or writer.
40 data/templates/default.html4
41 data/templates/default.html5
42 data/templates/default.docbook4
43 data/templates/default.docbook5
44 data/templates/default.jats
45 data/templates/default.tei
46 data/templates/default.opendocument
47 data/templates/default.icml
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.ms
54 data/templates/default.markdown
55 data/templates/default.muse
56 data/templates/default.commonmark
57 data/templates/default.rst
58 data/templates/default.plain
59 data/templates/default.mediawiki
60 data/templates/default.dokuwiki
61 data/templates/default.zimwiki
62 data/templates/default.rtf
63 data/templates/default.s5
64 data/templates/default.slidy
65 data/templates/default.slideous
66 data/templates/default.revealjs
67 data/templates/default.dzslides
68 data/templates/default.asciidoc
69 data/templates/default.haddock
70 data/templates/default.textile
71 data/templates/default.org
72 data/templates/default.epub2
73 data/templates/default.epub3
75 data/translations/*.yaml
76 -- source files for reference.docx
77 data/docx/[Content_Types].xml
79 data/docx/docProps/app.xml
80 data/docx/docProps/core.xml
81 data/docx/word/document.xml
82 data/docx/word/fontTable.xml
83 data/docx/word/footnotes.xml
84 data/docx/word/numbering.xml
85 data/docx/word/settings.xml
86 data/docx/word/webSettings.xml
87 data/docx/word/styles.xml
88 data/docx/word/_rels/document.xml.rels
89 data/docx/word/_rels/footnotes.xml.rels
90 data/docx/word/theme/theme1.xml
91 -- source files for reference.odt
98 data/odt/Configurations2/accelerator/current.xml
99 data/odt/Thumbnails/thumbnail.png
100 data/odt/META-INF/manifest.xml
101 -- stylesheet for EPUB writer
103 -- data for LaTeXMathML writer
105 -- data for dzslides writer
106 data/dzslides/template.html
107 -- default abbreviations file
109 -- sample lua custom writer
113 -- sample highlighting theme
115 -- bash completion template
116 data/bash_completion.tpl
120 MANUAL.txt, COPYRIGHT
123 INSTALL.md, AUTHORS.md, README.md,
124 CONTRIBUTING.md, BUGS, changelog,
128 -- files needed to build man page
129 man/capitalizeHeaders.hs
132 man/pandoc.1.template
140 test/command/3533-rst-csv-tables.csv
141 test/command/3880.txt
143 test/command/SVG_logo-without-xml-declaration.svg
144 test/command/SVG_logo.svg
145 test/command/corrupt.svg
146 test/command/inkscape-cube.svg
147 test/command/sub-file-chapter-1.tex
148 test/command/sub-file-chapter-2.tex
149 test/command/3510-subdoc.org
150 test/command/3510-export.latex
151 test/command/3510-src.hs
152 test/command/3971b.tex
153 test/docbook-reader.docbook
154 test/docbook-xref.docbook
155 test/html-reader.html
156 test/opml-reader.opml
157 test/haddock-reader.haddock
164 test/latex-reader.latex
165 test/textile-reader.textile
166 test/markdown-reader-more.txt
167 test/markdown-citations.txt
168 test/textile-reader.textile
169 test/mediawiki-reader.wiki
170 test/vimwiki-reader.wiki
171 test/creole-reader.txt
172 test/creole-reader.native
176 test/s5-fragment.html
192 test/tables.mediawiki
195 test/tables.opendocument
217 test/writer.mediawiki
219 test/writer.opendocument
233 test/writers-lang-and-dir.latex
234 test/writers-lang-and-dir.context
235 test/dokuwiki_inline_formatting.dokuwiki
236 test/lhs-test.markdown
237 test/lhs-test.markdown+lhs
239 test/lhs-test.rst+lhs
241 test/lhs-test.latex+lhs
243 test/lhs-test.html+lhs
244 test/lhs-test.fragment.html+lhs
246 test/dokuwiki_external_images.dokuwiki
247 test/dokuwiki_external_images.native
248 test/dokuwiki_multiblock_table.dokuwiki
249 test/dokuwiki_multiblock_table.native
252 test/fb2/images-embedded.html
253 test/fb2/images-embedded.fb2
254 test/fb2/test-small.png
261 test/twiki-reader.twiki
262 test/tikiwiki-reader.tikiwiki
264 test/odt/markdown/*.md
265 test/odt/native/*.native
267source-repository head
269 location: git://github.com/jgm/pandoc.git
272 Description: Use static linking for pandoc executable.
276 Description: Embed data files in binary for relocatable executable.
280 Description: Build trypandoc cgi executable.
284 Description: Build weigh-pandoc to measure memory usage.
288 Description: Get Network.URI from the network-uri package
292 Description: Use old-locale and time < 1.5
296 setup-depends: base, Cabal
299 build-depends: base >= 4.7 && < 5,
301 containers >= 0.4.2.1 && < 0.6,
302 unordered-containers >= 0.2 && < 0.3,
303 parsec >= 3.1 && < 3.2,
305 filepath >= 1.1 && < 1.5,
306 process >= 1.2.3 && < 1.7,
307 directory >= 1 && < 1.4,
308 bytestring >= 0.9 && < 0.11,
309 text >= 0.11 && < 1.3,
310 safe >= 0.3 && < 0.4,
311 zip-archive >= 0.2.3.4 && < 0.4,
312 HTTP >= 4000.0.5 && < 4000.4,
313 texmath >= 0.9.4.1 && < 0.10,
314 xml >= 1.3.12 && < 1.4,
315 split >= 0.2 && < 0.3,
316 random >= 1 && < 1.2,
317 pandoc-types >= 1.17.2 && < 1.18,
318 aeson >= 0.7 && < 1.3,
319 aeson-pretty >= 0.8 && < 0.9,
320 tagsoup >= 0.13.7 && < 0.15,
321 base64-bytestring >= 0.1 && < 1.1,
322 zlib >= 0.5 && < 0.7,
323 skylighting >= 0.4.2 && <0.5,
324 data-default >= 0.4 && < 0.8,
325 temporary >= 1.1 && < 1.3,
326 blaze-html >= 0.5 && < 0.10,
327 blaze-markup >= 0.5.1 && < 0.9,
328 yaml >= 0.8.8.2 && < 0.9,
329 scientific >= 0.2 && < 0.4,
330 vector >= 0.10 && < 0.13,
331 hslua >= 0.9 && < 0.10,
332 binary >= 0.5 && < 0.9,
334 haddock-library >= 1.1 && < 1.5,
335 deepseq >= 1.3 && < 1.5,
336 JuicyPixels >= 3.1.6.1 && < 3.3,
337 Glob >= 0.7 && < 0.10,
338 cmark-gfm >= 0.1.1 && < 0.2,
339 doctemplates >= 0.2.1 && < 0.3,
340 http-client >= 0.4.30 && < 0.6,
341 http-client-tls >= 0.2.4 && < 0.4,
342 http-types >= 0.8 && < 0.10,
343 case-insensitive >= 1.2 && < 1.3
345 cpp-options: -D_WINDOWS
347 build-depends: unix >= 2.4 && < 2.8
349 build-depends: old-locale >= 1 && < 1.1,
352 build-depends: time >= 1.5 && < 1.9
354 build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
356 build-depends: network >= 2 && < 2.6
357 if flag(embed_data_files)
358 cpp-options: -DEMBED_DATA_FILES
359 build-depends: file-embed >= 0.0 && < 0.1
360 other-modules: Text.Pandoc.Data
362 cpp-options: -D_WINDOWS
363 ghc-options: -Wall -fno-warn-unused-do-bind
364 ghc-prof-options: -fprof-auto-exported
365 default-language: Haskell98
366 other-extensions: PatternGuards, OverloadedStrings,
367 ScopedTypeVariables, GeneralizedNewtypeDeriving,
368 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
372 hs-source-dirs: prelude
373 other-modules: Prelude
375 exposed-modules: Text.Pandoc,
378 Text.Pandoc.Extensions,
381 Text.Pandoc.MediaBag,
384 Text.Pandoc.Readers.HTML,
385 Text.Pandoc.Readers.LaTeX,
386 Text.Pandoc.Readers.LaTeX.Types,
387 Text.Pandoc.Readers.Markdown,
388 Text.Pandoc.Readers.CommonMark,
389 Text.Pandoc.Readers.Creole,
390 Text.Pandoc.Readers.MediaWiki,
391 Text.Pandoc.Readers.Vimwiki,
392 Text.Pandoc.Readers.RST,
393 Text.Pandoc.Readers.Org,
394 Text.Pandoc.Readers.DocBook,
395 Text.Pandoc.Readers.OPML,
396 Text.Pandoc.Readers.Textile,
397 Text.Pandoc.Readers.Native,
398 Text.Pandoc.Readers.Haddock,
399 Text.Pandoc.Readers.TWiki,
400 Text.Pandoc.Readers.TikiWiki,
401 Text.Pandoc.Readers.Txt2Tags,
402 Text.Pandoc.Readers.Docx,
403 Text.Pandoc.Readers.Odt,
404 Text.Pandoc.Readers.EPUB,
405 Text.Pandoc.Readers.Muse,
407 Text.Pandoc.Writers.Native,
408 Text.Pandoc.Writers.Docbook,
409 Text.Pandoc.Writers.JATS,
410 Text.Pandoc.Writers.OPML,
411 Text.Pandoc.Writers.HTML,
412 Text.Pandoc.Writers.ICML,
413 Text.Pandoc.Writers.LaTeX,
414 Text.Pandoc.Writers.ConTeXt,
415 Text.Pandoc.Writers.OpenDocument,
416 Text.Pandoc.Writers.Texinfo,
417 Text.Pandoc.Writers.Man,
418 Text.Pandoc.Writers.Ms,
419 Text.Pandoc.Writers.Markdown,
420 Text.Pandoc.Writers.CommonMark,
421 Text.Pandoc.Writers.Haddock,
422 Text.Pandoc.Writers.RST,
423 Text.Pandoc.Writers.Org,
424 Text.Pandoc.Writers.AsciiDoc,
425 Text.Pandoc.Writers.Custom,
426 Text.Pandoc.Writers.Textile,
427 Text.Pandoc.Writers.MediaWiki,
428 Text.Pandoc.Writers.DokuWiki,
429 Text.Pandoc.Writers.ZimWiki,
430 Text.Pandoc.Writers.RTF,
431 Text.Pandoc.Writers.ODT,
432 Text.Pandoc.Writers.Docx,
433 Text.Pandoc.Writers.EPUB,
434 Text.Pandoc.Writers.FB2,
435 Text.Pandoc.Writers.TEI,
436 Text.Pandoc.Writers.Muse,
437 Text.Pandoc.Writers.Math,
438 Text.Pandoc.Writers.Shared,
442 Text.Pandoc.Templates,
444 Text.Pandoc.SelfContained,
445 Text.Pandoc.Highlighting,
452 Text.Pandoc.ImageSize,
455 other-modules: Text.Pandoc.Readers.Docx.Lists,
456 Text.Pandoc.Readers.Docx.Combine,
457 Text.Pandoc.Readers.Docx.Parse,
458 Text.Pandoc.Readers.Docx.Util,
459 Text.Pandoc.Readers.Docx.StyleMap,
460 Text.Pandoc.Readers.Odt.Base,
461 Text.Pandoc.Readers.Odt.Namespaces,
462 Text.Pandoc.Readers.Odt.StyleReader,
463 Text.Pandoc.Readers.Odt.ContentReader,
464 Text.Pandoc.Readers.Odt.Generic.Fallible,
465 Text.Pandoc.Readers.Odt.Generic.SetMap,
466 Text.Pandoc.Readers.Odt.Generic.Utils,
467 Text.Pandoc.Readers.Odt.Generic.Namespaces,
468 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
469 Text.Pandoc.Readers.Odt.Arrows.State,
470 Text.Pandoc.Readers.Odt.Arrows.Utils,
471 Text.Pandoc.Readers.Org.BlockStarts,
472 Text.Pandoc.Readers.Org.Blocks,
473 Text.Pandoc.Readers.Org.DocumentTree,
474 Text.Pandoc.Readers.Org.ExportSettings,
475 Text.Pandoc.Readers.Org.Inlines,
476 Text.Pandoc.Readers.Org.Meta,
477 Text.Pandoc.Readers.Org.ParserState,
478 Text.Pandoc.Readers.Org.Parsing,
479 Text.Pandoc.Readers.Org.Shared,
480 Text.Pandoc.Lua.PandocModule,
481 Text.Pandoc.Lua.StackInstances,
482 Text.Pandoc.Lua.Util,
486 Text.Pandoc.Translations,
488 Text.Pandoc.Compat.Time,
494 build-depends: pandoc, base >= 4.7 && < 5
495 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
496 ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
499 default-language: Haskell98
500 other-extensions: PatternGuards, OverloadedStrings,
501 ScopedTypeVariables, GeneralizedNewtypeDeriving,
502 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
506 hs-source-dirs: prelude
507 other-modules: Prelude
510 other-modules: Paths_pandoc
513 main-is: trypandoc.hs
514 hs-source-dirs: trypandoc
516 hs-source-dirs: prelude
517 other-modules: Prelude
518 default-language: Haskell2010
520 build-depends: base, aeson, pandoc,
521 text, wai-extra, wai >= 0.3, http-types
526executable weigh-pandoc
527 main-is: weigh-pandoc.hs
528 hs-source-dirs: benchmark
530 hs-source-dirs: prelude
531 other-modules: Prelude
532 if flag(weigh-pandoc)
533 build-depends: pandoc,
536 weigh >= 0.0 && < 0.1,
541 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
542 default-language: Haskell98
544test-suite test-pandoc
545 type: exitcode-stdio-1.0
546 main-is: test-pandoc.hs
549 hs-source-dirs: prelude
550 other-modules: Prelude
551 build-depends: base >= 4.2 && < 5,
553 pandoc-types >= 1.17.2 && < 1.18,
554 bytestring >= 0.9 && < 0.11,
555 text >= 0.11 && < 1.3,
556 directory >= 1 && < 1.4,
557 filepath >= 1.1 && < 1.5,
558 hslua >= 0.9 && < 0.10,
559 process >= 1.2.3 && < 1.7,
560 temporary >= 1.1 && < 1.3,
561 Diff >= 0.2 && < 0.4,
562 tasty >= 0.11 && < 0.12,
563 tasty-hunit >= 0.9 && < 0.10,
564 tasty-quickcheck >= 0.8 && < 0.10,
565 tasty-golden >= 2.3 && < 2.4,
566 QuickCheck >= 2.4 && < 2.11,
567 containers >= 0.4.2.1 && < 0.6,
568 executable-path >= 0.0 && < 0.1,
569 zip-archive >= 0.2.3.4 && < 0.4
570 other-modules: Tests.Old
577 Tests.Readers.Markdown
582 Tests.Readers.Txt2Tags
587 Tests.Writers.ConTeXt
588 Tests.Writers.Docbook
590 Tests.Writers.Markdown
593 Tests.Writers.AsciiDoc
599 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
600 default-language: Haskell98
602benchmark benchmark-pandoc
603 type: exitcode-stdio-1.0
604 main-is: benchmark-pandoc.hs
605 hs-source-dirs: benchmark
607 hs-source-dirs: prelude
608 other-modules: Prelude
609 build-depends: pandoc,
610 time, bytestring, containers,
612 text >= 0.11 && < 1.3,
613 criterion >= 1.0 && < 1.3
614 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
615 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