7Copyright: (c) 2006-2015 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Bug-Reports: https://github.com/jgm/pandoc/issues
12Homepage: http://johnmacfarlane.net/pandoc
14Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.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 markdown and (subsets of) HTML,
19 reStructuredText, LaTeX, DocBook, MediaWiki markup, TWiki
20 markup, Haddock markup, OPML, Emacs Org-Mode, txt2tags and
21 Textile, and it can write markdown, reStructuredText, XHTML,
22 HTML 5, LaTeX, ConTeXt, DocBook, OPML, OpenDocument, ODT,
23 Word docx, RTF, MediaWiki, DokuWiki, Textile, groff man
24 pages, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
25 EPUB (v2 and v3), FictionBook2, InDesign ICML, and several
26 kinds of HTML/javascript slide shows (S5, Slidy, Slideous,
29 Pandoc extends standard markdown syntax with footnotes,
30 embedded LaTeX, definition lists, tables, and other
31 features. A compatibility mode is provided for those
32 who need a drop-in replacement for Markdown.pl.
34 In contrast to existing tools for converting markdown
35 to HTML, which use regex substitutions, pandoc has
36 a modular design: it consists of a set of readers,
37 which parse text in a given format and produce a native
38 representation of the document, and a set of writers,
39 which convert this native representation into a target
40 format. Thus, adding an input or output format requires
41 only adding a reader or writer.
44 data/templates/default.html
45 data/templates/default.html5
46 data/templates/default.docbook
47 data/templates/default.beamer
48 data/templates/default.opendocument
49 data/templates/default.icml
50 data/templates/default.opml
51 data/templates/default.latex
52 data/templates/default.context
53 data/templates/default.texinfo
54 data/templates/default.man
55 data/templates/default.markdown
56 data/templates/default.rst
57 data/templates/default.plain
58 data/templates/default.mediawiki
59 data/templates/default.dokuwiki
60 data/templates/default.rtf
61 data/templates/default.s5
62 data/templates/default.slidy
63 data/templates/default.slideous
64 data/templates/default.revealjs
65 data/templates/default.dzslides
66 data/templates/default.asciidoc
67 data/templates/default.haddock
68 data/templates/default.textile
69 data/templates/default.org
70 data/templates/default.epub
71 data/templates/default.epub3
72 -- data for ODT writer
74 -- data for docx writer
76 -- stylesheet for EPUB writer
78 -- data for LaTeXMathML writer
81 -- data for dzslides writer
82 data/dzslides/template.html
83 -- sample lua custom writer
89 INSTALL, BUGS, CONTRIBUTING.md, changelog
90 -- code to create pandoc.1 man page
92 man/man1/pandoc.1.template
93 man/man5/pandoc_markdown.5.template
94 -- generated man pages (produced post-build)
96 man/man5/pandoc_markdown.5
97 -- source files for reference.docx
98 data/docx/[Content_Types].xml
100 data/docx/docProps/app.xml
101 data/docx/docProps/core.xml
102 data/docx/word/document.xml
103 data/docx/word/fontTable.xml
104 data/docx/word/footnotes.xml
105 data/docx/word/numbering.xml
106 data/docx/word/settings.xml
107 data/docx/word/webSettings.xml
108 data/docx/word/styles.xml
109 data/docx/word/_rels/document.xml.rels
110 data/docx/word/_rels/footnotes.xml.rels
111 data/docx/word/theme/theme1.xml
112 -- source files for reference.odt
114 data/odt/manifest.rdf
118 data/odt/settings.xml
119 data/odt/Configurations2/accelerator/current.xml
120 data/odt/Thumbnails/thumbnail.png
121 data/odt/META-INF/manifest.xml
128 tests/docbook-reader.docbook
129 tests/html-reader.html
130 tests/opml-reader.opml
131 tests/haddock-reader.haddock
135 tests/media/rId25.jpg
136 tests/media/rId26.jpg
137 tests/media/rId27.jpg
138 tests/latex-reader.latex
139 tests/textile-reader.textile
140 tests/markdown-reader-more.txt
141 tests/markdown-citations.txt
142 tests/textile-reader.textile
143 tests/mediawiki-reader.wiki
147 tests/s5-fragment.html
148 tests/s5-inserts.html
151 tests/tables.dokuwiki
157 tests/tables.markdown
158 tests/tables.mediawiki
160 tests/tables.opendocument
162 tests/tables.asciidoc
175 tests/writer.markdown
177 tests/writer.mediawiki
179 tests/writer.opendocument
181 tests/writer.asciidoc
189 tests/writer.dokuwiki
190 tests/dokuwiki_inline_formatting.dokuwiki
191 tests/lhs-test.markdown
192 tests/lhs-test.markdown+lhs
194 tests/lhs-test.rst+lhs
196 tests/lhs-test.latex+lhs
198 tests/lhs-test.html+lhs
199 tests/lhs-test.fragment.html+lhs
200 tests/pipe-tables.txt
201 tests/dokuwiki_external_images.dokuwiki
202 tests/dokuwiki_external_images.native
203 tests/dokuwiki_multiblock_table.dokuwiki
204 tests/dokuwiki_multiblock_table.native
207 tests/fb2/images-embedded.html
208 tests/fb2/images-embedded.fb2
209 tests/fb2/test-small.png
216 tests/twiki-reader.twiki
218Source-repository head
220 location: git://github.com/jgm/pandoc.git
223 Description: Embed data files in binary for relocatable executable.
227 Description: Build trypandoc cgi executable.
231 Description: Enable support for downloading of resources over https.
235 Description: Get Network.URI from the network-uri package
239 Description: Use old-locale and time < 1.5
243 Build-Depends: base >= 4.2 && <5,
245 containers >= 0.1 && < 0.6,
246 unordered-containers >= 0.2 && < 0.3,
247 array >= 0.3 && < 0.6,
248 parsec >= 3.1 && < 3.2,
250 filepath >= 1.1 && < 1.5,
251 process >= 1 && < 1.3,
252 directory >= 1 && < 1.3,
253 bytestring >= 0.9 && < 0.11,
254 text >= 0.11 && < 1.3,
255 zip-archive >= 0.2.3.4 && < 0.3,
256 HTTP >= 4000.0.5 && < 4000.3,
257 texmath >= 0.8.1 && < 0.9,
258 xml >= 1.3.12 && < 1.4,
259 random >= 1 && < 1.2,
260 extensible-exceptions >= 0.1 && < 0.2,
261 pandoc-types >= 1.12.4 && < 1.13,
262 aeson >= 0.7 && < 0.9,
263 tagsoup >= 0.13.1 && < 0.14,
264 base64-bytestring >= 0.1 && < 1.1,
265 zlib >= 0.5 && < 0.7,
266 highlighting-kate >= 0.6 && < 0.7,
267 data-default >= 0.4 && < 0.6,
268 temporary >= 1.1 && < 1.3,
269 blaze-html >= 0.5 && < 0.9,
270 blaze-markup >= 0.5.1 && < 0.8,
271 css-text >= 0.1.2 && < 0.3,
272 yaml >= 0.8.8.2 && < 0.9,
273 scientific >= 0.2 && < 0.4,
274 vector >= 0.10 && < 0.11,
275 hslua >= 0.3 && < 0.4,
276 binary >= 0.5 && < 0.8,
278 haddock-library >= 1.1 && < 1.3,
280 deepseq-generics >= 0.1 && < 0.2,
281 JuicyPixels >= 3.1.6.1 && < 3.3,
282 filemanip >= 0.3 && < 0.4,
283 cmark >= 0.3.3 && < 0.4
285 Build-Depends: old-locale >= 1 && < 1.1,
288 Build-Depends: time >= 1.5 && < 1.6
290 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
292 Build-Depends: network >= 2 && < 2.6
294 Build-Depends: http-client >= 0.3.2 && < 0.5,
295 http-client-tls >= 0.2 && < 0.3,
296 http-types >= 0.8 && < 0.9
297 cpp-options: -DHTTP_CLIENT
298 if flag(embed_data_files)
299 cpp-options: -DEMBED_DATA_FILES
300 -- Build-Tools: hsb2hs -- not yet recognized by cabal
301 other-modules: Text.Pandoc.Data
303 Cpp-options: -D_WINDOWS
304 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
305 Ghc-Prof-Options: -fprof-auto-exported -rtsopts
306 Default-Language: Haskell98
307 Other-Extensions: PatternGuards, OverloadedStrings,
308 ScopedTypeVariables, GeneralizedNewtypeDeriving,
309 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
313 Exposed-Modules: Text.Pandoc,
317 Text.Pandoc.MediaBag,
319 Text.Pandoc.Readers.HTML,
320 Text.Pandoc.Readers.LaTeX,
321 Text.Pandoc.Readers.Markdown,
322 Text.Pandoc.Readers.CommonMark,
323 Text.Pandoc.Readers.MediaWiki,
324 Text.Pandoc.Readers.RST,
325 Text.Pandoc.Readers.Org,
326 Text.Pandoc.Readers.DocBook,
327 Text.Pandoc.Readers.OPML,
328 Text.Pandoc.Readers.TeXMath,
329 Text.Pandoc.Readers.Textile,
330 Text.Pandoc.Readers.Native,
331 Text.Pandoc.Readers.Haddock,
332 Text.Pandoc.Readers.TWiki,
333 Text.Pandoc.Readers.Docx,
334 Text.Pandoc.Readers.EPUB,
335 Text.Pandoc.Writers.Native,
336 Text.Pandoc.Writers.Docbook,
337 Text.Pandoc.Writers.OPML,
338 Text.Pandoc.Writers.HTML,
339 Text.Pandoc.Writers.ICML,
340 Text.Pandoc.Writers.LaTeX,
341 Text.Pandoc.Writers.ConTeXt,
342 Text.Pandoc.Writers.OpenDocument,
343 Text.Pandoc.Writers.Texinfo,
344 Text.Pandoc.Writers.Man,
345 Text.Pandoc.Writers.Markdown,
346 Text.Pandoc.Writers.CommonMark,
347 Text.Pandoc.Writers.Haddock,
348 Text.Pandoc.Writers.RST,
349 Text.Pandoc.Writers.Org,
350 Text.Pandoc.Writers.AsciiDoc,
351 Text.Pandoc.Writers.Custom,
352 Text.Pandoc.Writers.Textile,
353 Text.Pandoc.Writers.MediaWiki,
354 Text.Pandoc.Writers.DokuWiki,
355 Text.Pandoc.Writers.RTF,
356 Text.Pandoc.Writers.ODT,
357 Text.Pandoc.Writers.Docx,
358 Text.Pandoc.Writers.EPUB,
359 Text.Pandoc.Writers.FB2,
362 Text.Pandoc.Templates,
364 Text.Pandoc.SelfContained,
366 Text.Pandoc.Readers.Txt2Tags
367 Other-Modules: Text.Pandoc.Readers.Docx.Lists,
368 Text.Pandoc.Readers.Docx.Reducible,
369 Text.Pandoc.Readers.Docx.Parse,
370 Text.Pandoc.Readers.Docx.Fonts,
371 Text.Pandoc.Readers.Docx.Util,
372 Text.Pandoc.Readers.Docx.StyleMap
373 Text.Pandoc.Writers.Shared,
378 Text.Pandoc.ImageSize,
380 Text.Pandoc.Highlighting,
381 Text.Pandoc.Compat.Locale,
382 Text.Pandoc.Compat.Monoid,
383 Text.Pandoc.Compat.Except,
384 Text.Pandoc.Compat.TagSoupEntity,
385 Text.Pandoc.Compat.Directory
391 Build-Depends: pandoc,
392 pandoc-types >= 1.12.4 && < 1.13,
394 directory >= 1 && < 1.3,
395 filepath >= 1.1 && < 1.5,
396 text >= 0.11 && < 1.3,
397 bytestring >= 0.9 && < 0.11,
398 extensible-exceptions >= 0.1 && < 0.2,
399 highlighting-kate >= 0.6 && < 0.7,
400 aeson >= 0.7.0.5 && < 0.9,
401 yaml >= 0.8.8.2 && < 0.9,
402 containers >= 0.1 && < 0.6,
403 HTTP >= 4000.0.5 && < 4000.3
405 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
407 Build-Depends: network >= 2 && < 2.6
408 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
409 Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
411 Cpp-options: -D_WINDOWS
412 Default-Language: Haskell98
413 Other-Extensions: PatternGuards, OverloadedStrings,
414 ScopedTypeVariables, GeneralizedNewtypeDeriving,
415 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
422 Main-Is: trypandoc.hs
423 Hs-Source-Dirs: trypandoc
424 default-language: Haskell2010
426 Build-Depends: base, aeson, pandoc, highlighting-kate,
427 text, wai-extra, wai >= 0.3, http-types
432-- NOTE: A trick in Setup.hs makes sure this won't be installed:
433Executable make-pandoc-man-pages
434 Main-Is: make-pandoc-man-pages.hs
436 Build-Depends: pandoc,
438 directory >= 1 && < 1.3,
439 filepath >= 1.1 && < 1.5,
440 old-time >= 1.0 && < 1.2,
442 Default-Language: Haskell98
445Executable make-reference-files
446 Main-Is: make-reference-files.hs
448 Build-Depends: zip-archive >= 0.2.3.4 && < 0.3,
450 directory >= 1 && < 1.3,
451 bytestring >= 0.9 && < 0.11
452 Default-Language: Haskell2010
454Test-Suite test-pandoc
455 Type: exitcode-stdio-1.0
456 Main-Is: test-pandoc.hs
457 Hs-Source-Dirs: tests
458 Build-Depends: base >= 4.2 && < 5,
461 pandoc-types >= 1.12.4 && < 1.13,
462 bytestring >= 0.9 && < 0.11,
463 text >= 0.11 && < 1.3,
464 directory >= 1 && < 1.3,
465 filepath >= 1.1 && < 1.5,
466 process >= 1 && < 1.3,
467 highlighting-kate >= 0.6 && < 0.7,
468 Diff >= 0.2 && < 0.4,
469 test-framework >= 0.3 && < 0.9,
470 test-framework-hunit >= 0.2 && < 0.4,
471 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
472 QuickCheck >= 2.4 && < 2.9,
473 HUnit >= 1.2 && < 1.3,
474 containers >= 0.1 && < 0.6,
475 ansi-terminal >= 0.5 && < 0.7,
476 executable-path >= 0.0 && < 0.1,
477 zip-archive >= 0.2.3.4 && < 0.3
478 Other-Modules: Tests.Old
485 Tests.Readers.Markdown
489 Tests.Readers.Txt2Tags
492 Tests.Writers.ConTeXt
493 Tests.Writers.Docbook
495 Tests.Writers.Markdown
497 Tests.Writers.AsciiDoc
501 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
502 Default-Language: Haskell98
504benchmark benchmark-pandoc
505 Type: exitcode-stdio-1.0
506 Main-Is: benchmark-pandoc.hs
507 Hs-Source-Dirs: benchmark
508 Build-Depends: pandoc,
511 criterion >= 0.5 && < 1.1
512 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
513 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