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.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, Haddock
20 markup, OPML, Emacs Org-Mode, and Textile, and it can write
21 markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OPML,
22 OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
23 groff man pages, plain text, Emacs Org-Mode, AsciiDoc,
24 EPUB (v2 and v3), FictionBook2, InDesign ICML, and several kinds
25 of HTML/javascript slide shows (S5, Slidy, Slideous, DZSlides,
28 Pandoc extends standard markdown syntax with footnotes,
29 embedded LaTeX, definition lists, tables, and other
30 features. A compatibility mode is provided for those
31 who need a drop-in replacement for Markdown.pl.
33 In contrast to existing tools for converting markdown
34 to HTML, which use regex substitutions, pandoc has
35 a modular design: it consists of a set of readers,
36 which parse text in a given format and produce a native
37 representation of the document, and a set of writers,
38 which convert this native representation into a target
39 format. Thus, adding an input or output format requires
40 only adding a reader or writer.
43 data/templates/default.html,
44 data/templates/default.html5,
45 data/templates/default.docbook,
46 data/templates/default.beamer,
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.markdown,
55 data/templates/default.rst,
56 data/templates/default.plain,
57 data/templates/default.mediawiki,
58 data/templates/default.rtf,
59 data/templates/default.s5,
60 data/templates/default.slidy,
61 data/templates/default.slideous,
62 data/templates/default.revealjs,
63 data/templates/default.dzslides,
64 data/templates/default.asciidoc,
65 data/templates/default.textile,
66 data/templates/default.org,
67 data/templates/default.epub,
68 data/templates/default.epub3,
69 -- data for ODT writer
71 -- data for docx writer
73 -- stylesheet for EPUB writer
75 -- data for LaTeXMathML writer
78 -- data for dzslides writer
79 data/dzslides/template.html,
80 -- sample lua custom writer
86 INSTALL, BUGS, CONTRIBUTING.md, changelog
87 -- code to create pandoc.1 man page
88 man/man1/pandoc.1.template,
89 man/man5/pandoc_markdown.5.template,
90 -- generated man pages (produced post-build)
92 man/man5/pandoc_markdown.5,
95 tests/docbook-reader.docbook
96 tests/docbook-reader.native
97 tests/html-reader.html,
98 tests/html-reader.native,
99 tests/opml-reader.opml,
100 tests/opml-reader.native,
101 tests/haddock-reader.haddock,
102 tests/haddock-reader.native,
106 tests/latex-reader.latex,
107 tests/latex-reader.native,
108 tests/textile-reader.textile,
109 tests/textile-reader.native,
110 tests/markdown-reader-more.txt,
111 tests/markdown-reader-more.native,
112 tests/markdown-citations.txt,
113 tests/markdown-citations.native,
114 tests/textile-reader.textile,
115 tests/mediawiki-reader.wiki,
116 tests/mediawiki-reader.native,
117 tests/rst-reader.native,
118 tests/rst-reader.rst,
121 tests/s5.fragment.html,
122 tests/s5.inserts.html,
124 tests/tables.context,
125 tests/tables.docbook,
130 tests/tables.markdown,
131 tests/tables.mediawiki,
132 tests/tables.textile,
134 tests/tables.opendocument,
136 tests/tables.asciidoc,
137 tests/tables.texinfo,
141 tests/tables-rstsubset.native,
143 tests/testsuite.native,
146 tests/writer.context,
147 tests/writer.docbook,
150 tests/writer.markdown,
152 tests/writer.mediawiki,
153 tests/writer.textile,
155 tests/writer.opendocument,
157 tests/writer.asciidoc,
160 tests/writer.texinfo,
163 tests/lhs-test.native,
164 tests/lhs-test-markdown.native,
165 tests/lhs-test.markdown,
166 tests/lhs-test.markdown+lhs,
168 tests/lhs-test.rst+lhs,
169 tests/lhs-test.latex,
170 tests/lhs-test.latex+lhs,
172 tests/lhs-test.html+lhs,
173 tests/lhs-test.fragment.html+lhs,
174 tests/pipe-tables.txt,
175 tests/pipe-tables.native,
176 tests/fb2.basic.markdown,
178 tests/fb2.titles.markdown,
179 tests/fb2.titles.fb2,
180 tests/fb2.images.markdown,
181 tests/fb2.images.fb2,
182 tests/fb2.images-embedded.html,
183 tests/fb2.images-embedded.fb2,
184 tests/fb2.math.markdown,
186 tests/fb2.test-small.png,
188Extra-Tmp-Files: man/man1/pandoc.1,
189 man/man5/pandoc_markdown.5
191Source-repository head
193 location: git://github.com/jgm/pandoc.git
196 Description: Embed data files in binary for relocatable executable.
200 Description: Enable downloading of resources over https.
204 Build-Depends: base >= 4.2 && <5,
206 containers >= 0.1 && < 0.6,
207 unordered-containers >= 0.2 && < 0.3,
208 array >= 0.3 && < 0.6,
209 parsec >= 3.1 && < 3.2,
211 network >= 2 && < 2.6,
212 filepath >= 1.1 && < 1.4,
213 process >= 1 && < 1.3,
214 directory >= 1 && < 1.3,
215 bytestring >= 0.9 && < 0.11,
216 text >= 0.11 && < 1.2,
217 zip-archive >= 0.1.3.3 && < 0.3,
218 old-locale >= 1 && < 1.1,
219 time >= 1.2 && < 1.5,
220 HTTP >= 4000.0.5 && < 4000.3,
221 texmath >= 0.6.6.1 && < 0.7,
222 xml >= 1.3.12 && < 1.4,
223 random >= 1 && < 1.1,
224 extensible-exceptions >= 0.1 && < 0.2,
225 pandoc-types >= 1.12.3.3 && < 1.13,
226 aeson >= 0.7 && < 0.8,
227 tagsoup >= 0.13.1 && < 0.14,
228 base64-bytestring >= 0.1 && < 1.1,
229 zlib >= 0.5 && < 0.6,
230 highlighting-kate >= 0.5.8 && < 0.6,
231 data-default >= 0.4 && < 0.6,
232 temporary >= 1.1 && < 1.3,
233 blaze-html >= 0.5 && < 0.8,
234 blaze-markup >= 0.5.1 && < 0.7,
235 attoparsec >= 0.10 && < 0.12,
236 yaml >= 0.8.8.2 && < 0.9,
237 scientific >= 0.2 && < 0.3,
238 vector >= 0.10 && < 0.11,
239 hslua >= 0.3 && < 0.4,
240 binary >= 0.5 && < 0.8
241 Build-Tools: alex, happy
242 if flag(http-conduit)
243 Build-Depends: http-conduit >= 1.9 && < 2.2,
244 http-types >= 0.8 && < 0.9
245 cpp-options: -DHTTP_CONDUIT
246 if flag(embed_data_files)
247 cpp-options: -DEMBED_DATA_FILES
248 -- Build-Tools: hsb2hs -- not yet recognized by cabal
249 other-modules: Text.Pandoc.Data
251 Cpp-options: -D_WINDOWS
252 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
253 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
254 Default-Language: Haskell98
255 Other-Extensions: PatternGuards, OverloadedStrings,
256 ScopedTypeVariables, GeneralizedNewtypeDeriving,
257 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
261 Exposed-Modules: Text.Pandoc,
265 Text.Pandoc.Readers.HTML,
266 Text.Pandoc.Readers.LaTeX,
267 Text.Pandoc.Readers.Markdown,
268 Text.Pandoc.Readers.MediaWiki,
269 Text.Pandoc.Readers.RST,
270 Text.Pandoc.Readers.Org,
271 Text.Pandoc.Readers.DocBook,
272 Text.Pandoc.Readers.OPML,
273 Text.Pandoc.Readers.TeXMath,
274 Text.Pandoc.Readers.Textile,
275 Text.Pandoc.Readers.Native,
276 Text.Pandoc.Readers.Haddock,
277 Text.Pandoc.Writers.Native,
278 Text.Pandoc.Writers.Docbook,
279 Text.Pandoc.Writers.OPML,
280 Text.Pandoc.Writers.HTML,
281 Text.Pandoc.Writers.ICML,
282 Text.Pandoc.Writers.LaTeX,
283 Text.Pandoc.Writers.ConTeXt,
284 Text.Pandoc.Writers.OpenDocument,
285 Text.Pandoc.Writers.Texinfo,
286 Text.Pandoc.Writers.Man,
287 Text.Pandoc.Writers.Markdown,
288 Text.Pandoc.Writers.RST,
289 Text.Pandoc.Writers.Org,
290 Text.Pandoc.Writers.AsciiDoc,
291 Text.Pandoc.Writers.Custom,
292 Text.Pandoc.Writers.Textile,
293 Text.Pandoc.Writers.MediaWiki,
294 Text.Pandoc.Writers.RTF,
295 Text.Pandoc.Writers.ODT,
296 Text.Pandoc.Writers.Docx,
297 Text.Pandoc.Writers.EPUB,
298 Text.Pandoc.Writers.FB2,
301 Text.Pandoc.Templates,
303 Text.Pandoc.SelfContained,
305 Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
306 Text.Pandoc.Readers.Haddock.Parse,
307 Text.Pandoc.Writers.Shared,
312 Text.Pandoc.ImageSize,
314 Text.Pandoc.Highlighting,
315 Text.Pandoc.Compat.Monoid,
316 Text.Pandoc.Compat.TagSoupEntity,
322 Build-Depends: pandoc,
323 pandoc-types >= 1.12.3.3 && < 1.13,
325 directory >= 1 && < 1.3,
326 filepath >= 1.1 && < 1.4,
327 network >= 2 && < 2.6,
328 text >= 0.11 && < 1.2,
329 bytestring >= 0.9 && < 0.11,
330 extensible-exceptions >= 0.1 && < 0.2,
331 highlighting-kate >= 0.5.8 && < 0.6,
332 aeson >= 0.7 && < 0.8,
333 yaml >= 0.8.8.2 && < 0.9,
334 containers >= 0.1 && < 0.6,
335 HTTP >= 4000.0.5 && < 4000.3
336 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
337 Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
339 Cpp-options: -D_WINDOWS
340 Default-Language: Haskell98
341 Other-Extensions: PatternGuards, OverloadedStrings,
342 ScopedTypeVariables, GeneralizedNewtypeDeriving,
343 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
349-- NOTE: A trick in Setup.hs makes sure this won't be installed:
350Executable make-pandoc-man-pages
351 Main-Is: make-pandoc-man-pages.hs
353 Build-Depends: pandoc,
355 directory >= 1 && < 1.3,
356 filepath >= 1.1 && < 1.4,
357 old-time >= 1.0 && < 1.2,
359 Default-Language: Haskell98
361Test-Suite test-pandoc
362 Type: exitcode-stdio-1.0
363 Main-Is: test-pandoc.hs
364 Hs-Source-Dirs: tests
365 Build-Depends: base >= 4.2 && < 5,
368 pandoc-types >= 1.12.3.3 && < 1.13,
369 bytestring >= 0.9 && < 0.11,
370 text >= 0.11 && < 1.2,
371 directory >= 1 && < 1.3,
372 filepath >= 1.1 && < 1.4,
373 process >= 1 && < 1.3,
374 highlighting-kate >= 0.5.8 && < 0.6,
375 Diff >= 0.2 && < 0.4,
376 test-framework >= 0.3 && < 0.9,
377 test-framework-hunit >= 0.2 && < 0.4,
378 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
379 QuickCheck >= 2.4 && < 2.8,
380 HUnit >= 1.2 && < 1.3,
381 containers >= 0.1 && < 0.6,
382 ansi-terminal >= 0.5 && < 0.7
383 Other-Modules: Tests.Old
389 Tests.Readers.Markdown
393 Tests.Writers.ConTeXt
395 Tests.Writers.Markdown
396 Tests.Writers.AsciiDoc
398 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
399 Default-Language: Haskell98
401benchmark benchmark-pandoc
402 Type: exitcode-stdio-1.0
403 Main-Is: benchmark-pandoc.hs
404 Hs-Source-Dirs: benchmark
405 Build-Depends: pandoc,
408 criterion >= 0.5 && < 0.9
409 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
410 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