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
130 man/pandoc.1.template
138 test/command/3533-rst-csv-tables.csv
139 test/command/3880.txt
141 test/command/SVG_logo-without-xml-declaration.svg
142 test/command/SVG_logo.svg
143 test/command/corrupt.svg
144 test/command/inkscape-cube.svg
145 test/command/sub-file-chapter-1.tex
146 test/command/sub-file-chapter-2.tex
147 test/command/3510-subdoc.org
148 test/command/3510-export.latex
149 test/command/3510-src.hs
150 test/command/3971b.tex
151 test/docbook-reader.docbook
152 test/docbook-xref.docbook
153 test/html-reader.html
154 test/opml-reader.opml
155 test/haddock-reader.haddock
162 test/latex-reader.latex
163 test/textile-reader.textile
164 test/markdown-reader-more.txt
165 test/markdown-citations.txt
166 test/textile-reader.textile
167 test/mediawiki-reader.wiki
168 test/vimwiki-reader.wiki
169 test/creole-reader.txt
170 test/creole-reader.native
174 test/s5-fragment.html
190 test/tables.mediawiki
193 test/tables.opendocument
215 test/writer.mediawiki
217 test/writer.opendocument
231 test/writers-lang-and-dir.latex
232 test/writers-lang-and-dir.context
233 test/dokuwiki_inline_formatting.dokuwiki
234 test/lhs-test.markdown
235 test/lhs-test.markdown+lhs
237 test/lhs-test.rst+lhs
239 test/lhs-test.latex+lhs
241 test/lhs-test.html+lhs
242 test/lhs-test.fragment.html+lhs
244 test/dokuwiki_external_images.dokuwiki
245 test/dokuwiki_external_images.native
246 test/dokuwiki_multiblock_table.dokuwiki
247 test/dokuwiki_multiblock_table.native
250 test/fb2/images-embedded.html
251 test/fb2/images-embedded.fb2
252 test/fb2/test-small.png
259 test/twiki-reader.twiki
260 test/tikiwiki-reader.tikiwiki
262 test/odt/markdown/*.md
263 test/odt/native/*.native
265source-repository head
267 location: git://github.com/jgm/pandoc.git
270 Description: Use static linking for pandoc executable.
274 Description: Embed data files in binary for relocatable executable.
278 Description: Build trypandoc cgi executable.
282 Description: Build weigh-pandoc to measure memory usage.
286 Description: Get Network.URI from the network-uri package
290 Description: Use old-locale and time < 1.5
294 setup-depends: base, Cabal
297 build-depends: base >= 4.7 && < 5,
299 containers >= 0.4.2.1 && < 0.6,
300 unordered-containers >= 0.2 && < 0.3,
301 parsec >= 3.1 && < 3.2,
303 filepath >= 1.1 && < 1.5,
304 process >= 1.2.3 && < 1.7,
305 directory >= 1 && < 1.4,
306 bytestring >= 0.9 && < 0.11,
307 text >= 0.11 && < 1.3,
308 safe >= 0.3 && < 0.4,
309 zip-archive >= 0.2.3.4 && < 0.4,
310 HTTP >= 4000.0.5 && < 4000.4,
311 texmath >= 0.10 && < 0.11,
312 xml >= 1.3.12 && < 1.4,
313 split >= 0.2 && < 0.3,
314 random >= 1 && < 1.2,
315 pandoc-types >= 1.17.3 && < 1.18,
316 aeson >= 0.7 && < 1.3,
317 aeson-pretty >= 0.8 && < 0.9,
318 tagsoup >= 0.13.7 && < 0.15,
319 base64-bytestring >= 0.1 && < 1.1,
320 zlib >= 0.5 && < 0.7,
321 skylighting >= 0.4.3.2 && <0.5,
322 data-default >= 0.4 && < 0.8,
323 temporary >= 1.1 && < 1.3,
324 blaze-html >= 0.5 && < 0.10,
325 blaze-markup >= 0.5.1 && < 0.9,
326 yaml >= 0.8.8.2 && < 0.9,
327 scientific >= 0.2 && < 0.4,
328 vector >= 0.10 && < 0.13,
329 hslua >= 0.9 && < 0.10,
330 binary >= 0.5 && < 0.9,
332 haddock-library >= 1.1 && < 1.5,
333 deepseq >= 1.3 && < 1.5,
334 JuicyPixels >= 3.1.6.1 && < 3.3,
335 Glob >= 0.7 && < 0.10,
336 cmark-gfm >= 0.1.1 && < 0.2,
337 doctemplates >= 0.2.1 && < 0.3,
338 http-client >= 0.4.30 && < 0.6,
339 http-client-tls >= 0.2.4 && < 0.4,
340 http-types >= 0.8 && < 0.10,
341 case-insensitive >= 1.2 && < 1.3
343 cpp-options: -D_WINDOWS
345 build-depends: unix >= 2.4 && < 2.8
347 build-depends: old-locale >= 1 && < 1.1,
350 build-depends: time >= 1.5 && < 1.9
352 build-depends: network-uri >= 2.6 && < 2.7, network >= 2.6
354 build-depends: network >= 2 && < 2.6
355 if flag(embed_data_files)
356 cpp-options: -DEMBED_DATA_FILES
357 build-depends: file-embed >= 0.0 && < 0.1
358 other-modules: Text.Pandoc.Data
360 cpp-options: -D_WINDOWS
361 ghc-options: -Wall -fno-warn-unused-do-bind
362 ghc-prof-options: -fprof-auto-exported
363 default-language: Haskell98
364 other-extensions: PatternGuards, OverloadedStrings,
365 ScopedTypeVariables, GeneralizedNewtypeDeriving,
366 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
370 hs-source-dirs: prelude
371 other-modules: Prelude
373 exposed-modules: Text.Pandoc,
376 Text.Pandoc.Extensions,
379 Text.Pandoc.MediaBag,
382 Text.Pandoc.Readers.HTML,
383 Text.Pandoc.Readers.LaTeX,
384 Text.Pandoc.Readers.LaTeX.Types,
385 Text.Pandoc.Readers.Markdown,
386 Text.Pandoc.Readers.CommonMark,
387 Text.Pandoc.Readers.Creole,
388 Text.Pandoc.Readers.MediaWiki,
389 Text.Pandoc.Readers.Vimwiki,
390 Text.Pandoc.Readers.RST,
391 Text.Pandoc.Readers.Org,
392 Text.Pandoc.Readers.DocBook,
393 Text.Pandoc.Readers.OPML,
394 Text.Pandoc.Readers.Textile,
395 Text.Pandoc.Readers.Native,
396 Text.Pandoc.Readers.Haddock,
397 Text.Pandoc.Readers.TWiki,
398 Text.Pandoc.Readers.TikiWiki,
399 Text.Pandoc.Readers.Txt2Tags,
400 Text.Pandoc.Readers.Docx,
401 Text.Pandoc.Readers.Odt,
402 Text.Pandoc.Readers.EPUB,
403 Text.Pandoc.Readers.Muse,
405 Text.Pandoc.Writers.Native,
406 Text.Pandoc.Writers.Docbook,
407 Text.Pandoc.Writers.JATS,
408 Text.Pandoc.Writers.OPML,
409 Text.Pandoc.Writers.HTML,
410 Text.Pandoc.Writers.ICML,
411 Text.Pandoc.Writers.LaTeX,
412 Text.Pandoc.Writers.ConTeXt,
413 Text.Pandoc.Writers.OpenDocument,
414 Text.Pandoc.Writers.Texinfo,
415 Text.Pandoc.Writers.Man,
416 Text.Pandoc.Writers.Ms,
417 Text.Pandoc.Writers.Markdown,
418 Text.Pandoc.Writers.CommonMark,
419 Text.Pandoc.Writers.Haddock,
420 Text.Pandoc.Writers.RST,
421 Text.Pandoc.Writers.Org,
422 Text.Pandoc.Writers.AsciiDoc,
423 Text.Pandoc.Writers.Custom,
424 Text.Pandoc.Writers.Textile,
425 Text.Pandoc.Writers.MediaWiki,
426 Text.Pandoc.Writers.DokuWiki,
427 Text.Pandoc.Writers.ZimWiki,
428 Text.Pandoc.Writers.RTF,
429 Text.Pandoc.Writers.ODT,
430 Text.Pandoc.Writers.Docx,
431 Text.Pandoc.Writers.EPUB,
432 Text.Pandoc.Writers.FB2,
433 Text.Pandoc.Writers.TEI,
434 Text.Pandoc.Writers.Muse,
435 Text.Pandoc.Writers.Math,
436 Text.Pandoc.Writers.Shared,
440 Text.Pandoc.Templates,
442 Text.Pandoc.SelfContained,
443 Text.Pandoc.Highlighting,
450 Text.Pandoc.ImageSize,
453 other-modules: Text.Pandoc.Readers.Docx.Lists,
454 Text.Pandoc.Readers.Docx.Combine,
455 Text.Pandoc.Readers.Docx.Parse,
456 Text.Pandoc.Readers.Docx.Util,
457 Text.Pandoc.Readers.Docx.StyleMap,
458 Text.Pandoc.Readers.Odt.Base,
459 Text.Pandoc.Readers.Odt.Namespaces,
460 Text.Pandoc.Readers.Odt.StyleReader,
461 Text.Pandoc.Readers.Odt.ContentReader,
462 Text.Pandoc.Readers.Odt.Generic.Fallible,
463 Text.Pandoc.Readers.Odt.Generic.SetMap,
464 Text.Pandoc.Readers.Odt.Generic.Utils,
465 Text.Pandoc.Readers.Odt.Generic.Namespaces,
466 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
467 Text.Pandoc.Readers.Odt.Arrows.State,
468 Text.Pandoc.Readers.Odt.Arrows.Utils,
469 Text.Pandoc.Readers.Org.BlockStarts,
470 Text.Pandoc.Readers.Org.Blocks,
471 Text.Pandoc.Readers.Org.DocumentTree,
472 Text.Pandoc.Readers.Org.ExportSettings,
473 Text.Pandoc.Readers.Org.Inlines,
474 Text.Pandoc.Readers.Org.Meta,
475 Text.Pandoc.Readers.Org.ParserState,
476 Text.Pandoc.Readers.Org.Parsing,
477 Text.Pandoc.Readers.Org.Shared,
478 Text.Pandoc.Lua.PandocModule,
479 Text.Pandoc.Lua.Filter,
480 Text.Pandoc.Lua.StackInstances,
481 Text.Pandoc.Lua.Util,
485 Text.Pandoc.Translations,
487 Text.Pandoc.Compat.Time,
493 build-depends: pandoc, base >= 4.7 && < 5
494 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
495 ghc-prof-options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
498 default-language: Haskell98
499 other-extensions: PatternGuards, OverloadedStrings,
500 ScopedTypeVariables, GeneralizedNewtypeDeriving,
501 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
505 hs-source-dirs: prelude
506 other-modules: Prelude
509 other-modules: Paths_pandoc
512 main-is: trypandoc.hs
513 hs-source-dirs: trypandoc
515 hs-source-dirs: prelude
516 other-modules: Prelude
517 default-language: Haskell2010
519 build-depends: base, aeson, pandoc,
520 text, wai-extra, wai >= 0.3, http-types
525executable weigh-pandoc
526 main-is: weigh-pandoc.hs
527 hs-source-dirs: benchmark
529 hs-source-dirs: prelude
530 other-modules: Prelude
531 if flag(weigh-pandoc)
532 build-depends: pandoc,
535 weigh >= 0.0 && < 0.1,
540 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
541 default-language: Haskell98
543test-suite test-pandoc
544 type: exitcode-stdio-1.0
545 main-is: test-pandoc.hs
548 hs-source-dirs: prelude
549 other-modules: Prelude
550 build-depends: base >= 4.2 && < 5,
552 pandoc-types >= 1.17.3 && < 1.18,
553 bytestring >= 0.9 && < 0.11,
554 text >= 0.11 && < 1.3,
555 directory >= 1 && < 1.4,
556 filepath >= 1.1 && < 1.5,
557 hslua >= 0.9 && < 0.10,
558 process >= 1.2.3 && < 1.7,
559 temporary >= 1.1 && < 1.3,
560 Diff >= 0.2 && < 0.4,
561 tasty >= 0.11 && < 0.13,
562 tasty-hunit >= 0.9 && < 0.10,
563 tasty-quickcheck >= 0.8 && < 0.10,
564 tasty-golden >= 2.3 && < 2.4,
565 QuickCheck >= 2.4 && < 2.11,
566 containers >= 0.4.2.1 && < 0.6,
567 executable-path >= 0.0 && < 0.1,
568 zip-archive >= 0.2.3.4 && < 0.4
569 other-modules: Tests.Old
576 Tests.Readers.Markdown
581 Tests.Readers.Txt2Tags
586 Tests.Writers.ConTeXt
587 Tests.Writers.Docbook
589 Tests.Writers.Markdown
592 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