7Copyright: (c) 2006-2014 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, GHC == 7.10.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 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
103 tests/docbook-reader.docbook
104 tests/html-reader.html
105 tests/opml-reader.opml
106 tests/haddock-reader.haddock
110 tests/latex-reader.latex
111 tests/textile-reader.textile
112 tests/markdown-reader-more.txt
113 tests/markdown-citations.txt
114 tests/textile-reader.textile
115 tests/mediawiki-reader.wiki
119 tests/s5-fragment.html
120 tests/s5-inserts.html
123 tests/tables.dokuwiki
129 tests/tables.markdown
130 tests/tables.mediawiki
132 tests/tables.opendocument
134 tests/tables.asciidoc
147 tests/writer.markdown
149 tests/writer.mediawiki
151 tests/writer.opendocument
153 tests/writer.asciidoc
161 tests/writer.dokuwiki
162 tests/dokuwiki_inline_formatting.dokuwiki
163 tests/lhs-test.markdown
164 tests/lhs-test.markdown+lhs
166 tests/lhs-test.rst+lhs
168 tests/lhs-test.latex+lhs
170 tests/lhs-test.html+lhs
171 tests/lhs-test.fragment.html+lhs
172 tests/pipe-tables.txt
173 tests/dokuwiki_external_images.dokuwiki
174 tests/dokuwiki_external_images.native
175 tests/dokuwiki_multiblock_table.dokuwiki
176 tests/dokuwiki_multiblock_table.native
179 tests/fb2/images-embedded.html
180 tests/fb2/images-embedded.fb2
181 tests/fb2/test-small.png
188 tests/twiki-reader.twiki
190Source-repository head
192 location: git://github.com/jgm/pandoc.git
195 Description: Embed data files in binary for relocatable executable.
199 Description: Build trypandoc cgi executable.
203 Description: Enable support for downloading of resources over https.
206Flag make-pandoc-man-pages
207 Description: Build program to regenerate pandoc man pages from README.
211 Description: Get Network.URI from the network-uri package
215 Description: Use old-locale and time < 1.5
219 Build-Depends: base >= 4.2 && <5,
221 containers >= 0.1 && < 0.6,
222 unordered-containers >= 0.2 && < 0.3,
223 array >= 0.3 && < 0.6,
224 parsec >= 3.1 && < 3.2,
226 filepath >= 1.1 && < 1.5,
227 process >= 1 && < 1.3,
228 directory >= 1 && < 1.3,
229 bytestring >= 0.9 && < 0.11,
230 text >= 0.11 && < 1.3,
231 zip-archive >= 0.2.3.4 && < 0.3,
232 HTTP >= 4000.0.5 && < 4000.3,
233 texmath >= 0.8.0.1 && < 0.9,
234 xml >= 1.3.12 && < 1.4,
235 random >= 1 && < 1.2,
236 extensible-exceptions >= 0.1 && < 0.2,
237 pandoc-types >= 1.12.4 && < 1.13,
238 aeson >= 0.7 && < 0.9,
239 tagsoup >= 0.13.1 && < 0.14,
240 base64-bytestring >= 0.1 && < 1.1,
241 zlib >= 0.5 && < 0.6,
242 highlighting-kate >= 0.5.11.1 && < 0.6,
243 data-default >= 0.4 && < 0.6,
244 temporary >= 1.1 && < 1.3,
245 blaze-html >= 0.5 && < 0.9,
246 blaze-markup >= 0.5.1 && < 0.8,
247 yaml >= 0.8.8.2 && < 0.9,
248 scientific >= 0.2 && < 0.4,
249 vector >= 0.10 && < 0.11,
250 hslua >= 0.3 && < 0.4,
251 binary >= 0.5 && < 0.8,
253 haddock-library >= 1.1 && < 1.3,
255 deepseq-generics >= 0.1 && < 0.2,
256 JuicyPixels >= 3.1.6.1 && < 3.3
258 Build-Depends: old-locale >= 1 && < 1.1,
261 Build-Depends: time >= 1.5 && < 1.6
263 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
265 Build-Depends: network >= 2 && < 2.6
267 Build-Depends: http-client >= 0.3.2 && < 0.5,
268 http-client-tls >= 0.2 && < 0.3,
269 http-types >= 0.8 && < 0.9
270 cpp-options: -DHTTP_CLIENT
271 if flag(embed_data_files)
272 cpp-options: -DEMBED_DATA_FILES
273 -- Build-Tools: hsb2hs -- not yet recognized by cabal
274 other-modules: Text.Pandoc.Data
276 Cpp-options: -D_WINDOWS
277 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
278 Ghc-Prof-Options: -fprof-auto-exported -rtsopts
279 Default-Language: Haskell98
280 Other-Extensions: PatternGuards, OverloadedStrings,
281 ScopedTypeVariables, GeneralizedNewtypeDeriving,
282 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
286 Exposed-Modules: Text.Pandoc,
290 Text.Pandoc.MediaBag,
291 Text.Pandoc.Readers.HTML,
292 Text.Pandoc.Readers.LaTeX,
293 Text.Pandoc.Readers.Markdown,
294 Text.Pandoc.Readers.MediaWiki,
295 Text.Pandoc.Readers.RST,
296 Text.Pandoc.Readers.Org,
297 Text.Pandoc.Readers.DocBook,
298 Text.Pandoc.Readers.OPML,
299 Text.Pandoc.Readers.TeXMath,
300 Text.Pandoc.Readers.Textile,
301 Text.Pandoc.Readers.Native,
302 Text.Pandoc.Readers.Haddock,
303 Text.Pandoc.Readers.TWiki,
304 Text.Pandoc.Readers.Docx,
305 Text.Pandoc.Readers.EPUB,
306 Text.Pandoc.Writers.Native,
307 Text.Pandoc.Writers.Docbook,
308 Text.Pandoc.Writers.OPML,
309 Text.Pandoc.Writers.HTML,
310 Text.Pandoc.Writers.ICML,
311 Text.Pandoc.Writers.LaTeX,
312 Text.Pandoc.Writers.ConTeXt,
313 Text.Pandoc.Writers.OpenDocument,
314 Text.Pandoc.Writers.Texinfo,
315 Text.Pandoc.Writers.Man,
316 Text.Pandoc.Writers.Markdown,
317 Text.Pandoc.Writers.Haddock,
318 Text.Pandoc.Writers.RST,
319 Text.Pandoc.Writers.Org,
320 Text.Pandoc.Writers.AsciiDoc,
321 Text.Pandoc.Writers.Custom,
322 Text.Pandoc.Writers.Textile,
323 Text.Pandoc.Writers.MediaWiki,
324 Text.Pandoc.Writers.DokuWiki,
325 Text.Pandoc.Writers.RTF,
326 Text.Pandoc.Writers.ODT,
327 Text.Pandoc.Writers.Docx,
328 Text.Pandoc.Writers.EPUB,
329 Text.Pandoc.Writers.FB2,
332 Text.Pandoc.Templates,
334 Text.Pandoc.SelfContained,
336 Text.Pandoc.Readers.Txt2Tags
337 Other-Modules: Text.Pandoc.Readers.Docx.Lists,
338 Text.Pandoc.Readers.Docx.Reducible,
339 Text.Pandoc.Readers.Docx.Parse,
340 Text.Pandoc.Readers.Docx.Fonts
341 Text.Pandoc.Writers.Shared,
346 Text.Pandoc.ImageSize,
348 Text.Pandoc.Highlighting,
349 Text.Pandoc.Compat.Locale,
350 Text.Pandoc.Compat.Monoid,
351 Text.Pandoc.Compat.Except,
352 Text.Pandoc.Compat.TagSoupEntity,
353 Text.Pandoc.Compat.Directory
359 Build-Depends: pandoc,
360 pandoc-types >= 1.12.4 && < 1.13,
362 directory >= 1 && < 1.3,
363 filepath >= 1.1 && < 1.5,
364 text >= 0.11 && < 1.3,
365 bytestring >= 0.9 && < 0.11,
366 extensible-exceptions >= 0.1 && < 0.2,
367 highlighting-kate >= 0.5.11.1 && < 0.6,
368 aeson >= 0.7.0.5 && < 0.9,
369 yaml >= 0.8.8.2 && < 0.9,
370 containers >= 0.1 && < 0.6,
371 HTTP >= 4000.0.5 && < 4000.3
373 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
375 Build-Depends: network >= 2 && < 2.6
376 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
377 Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
379 Cpp-options: -D_WINDOWS
380 Default-Language: Haskell98
381 Other-Extensions: PatternGuards, OverloadedStrings,
382 ScopedTypeVariables, GeneralizedNewtypeDeriving,
383 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
390 Main-Is: trypandoc.hs
391 Hs-Source-Dirs: trypandoc
392 default-language: Haskell2010
394 Build-Depends: base, aeson, pandoc, highlighting-kate,
395 text, wai-extra, wai >= 0.3, http-types
400-- NOTE: A trick in Setup.hs makes sure this won't be installed:
401Executable make-pandoc-man-pages
402 Main-Is: make-pandoc-man-pages.hs
404 Build-Depends: pandoc,
406 directory >= 1 && < 1.3,
407 filepath >= 1.1 && < 1.5,
408 old-time >= 1.0 && < 1.2,
410 Default-Language: Haskell98
411 if flag(make-pandoc-man-pages)
416Test-Suite test-pandoc
417 Type: exitcode-stdio-1.0
418 Main-Is: test-pandoc.hs
419 Hs-Source-Dirs: tests
420 Build-Depends: base >= 4.2 && < 5,
423 pandoc-types >= 1.12.4 && < 1.13,
424 bytestring >= 0.9 && < 0.11,
425 text >= 0.11 && < 1.3,
426 directory >= 1 && < 1.3,
427 filepath >= 1.1 && < 1.5,
428 process >= 1 && < 1.3,
429 highlighting-kate >= 0.5.11.1 && < 0.6,
430 Diff >= 0.2 && < 0.4,
431 test-framework >= 0.3 && < 0.9,
432 test-framework-hunit >= 0.2 && < 0.4,
433 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
434 QuickCheck >= 2.4 && < 2.8,
435 HUnit >= 1.2 && < 1.3,
436 containers >= 0.1 && < 0.6,
437 ansi-terminal >= 0.5 && < 0.7,
438 executable-path >= 0.0 && < 0.1,
439 zip-archive >= 0.2.3.4 && < 0.3
440 Other-Modules: Tests.Old
446 Tests.Readers.Markdown
450 Tests.Readers.Txt2Tags
453 Tests.Writers.ConTeXt
454 Tests.Writers.Docbook
456 Tests.Writers.Markdown
458 Tests.Writers.AsciiDoc
460 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
461 Default-Language: Haskell98
463benchmark benchmark-pandoc
464 Type: exitcode-stdio-1.0
465 Main-Is: benchmark-pandoc.hs
466 Hs-Source-Dirs: benchmark
467 Build-Depends: pandoc,
470 criterion >= 0.5 && < 0.9
471 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
472 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