7Copyright: (c) 2006-2013 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.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.markdown,
54 data/templates/default.rst,
55 data/templates/default.plain,
56 data/templates/default.mediawiki,
57 data/templates/default.rtf,
58 data/templates/default.s5,
59 data/templates/default.slidy,
60 data/templates/default.slideous,
61 data/templates/default.revealjs,
62 data/templates/default.dzslides,
63 data/templates/default.asciidoc,
64 data/templates/default.textile,
65 data/templates/default.org,
66 data/templates/default.epub,
67 data/templates/default.epub3,
68 -- data for ODT writer
70 -- data for docx writer
72 -- stylesheet for EPUB writer
74 -- data for LaTeXMathML writer
77 -- data for dzslides writer
78 data/dzslides/template.html,
79 -- sample lua custom writer
85 INSTALL, BUGS, CONTRIBUTING.md, changelog
86 -- code to create pandoc.1 man page
87 man/man1/pandoc.1.template,
88 man/man5/pandoc_markdown.5.template,
89 -- generated man pages (produced post-build)
91 man/man5/pandoc_markdown.5,
94 tests/docbook-reader.docbook
95 tests/docbook-reader.native
96 tests/html-reader.html,
97 tests/html-reader.native,
98 tests/opml-reader.opml,
99 tests/opml-reader.native,
100 tests/haddock-reader.haddock,
101 tests/haddock-reader.native,
105 tests/latex-reader.latex,
106 tests/latex-reader.native,
107 tests/textile-reader.textile,
108 tests/textile-reader.native,
109 tests/markdown-reader-more.txt,
110 tests/markdown-reader-more.native,
111 tests/markdown-citations.txt,
112 tests/markdown-citations.native,
113 tests/textile-reader.textile,
114 tests/mediawiki-reader.wiki,
115 tests/mediawiki-reader.native,
116 tests/rst-reader.native,
117 tests/rst-reader.rst,
120 tests/s5.fragment.html,
121 tests/s5.inserts.html,
123 tests/tables.context,
124 tests/tables.docbook,
129 tests/tables.markdown,
130 tests/tables.mediawiki,
131 tests/tables.textile,
133 tests/tables.opendocument,
135 tests/tables.asciidoc,
136 tests/tables.texinfo,
140 tests/tables-rstsubset.native,
142 tests/testsuite.native,
145 tests/writer.context,
146 tests/writer.docbook,
149 tests/writer.markdown,
151 tests/writer.mediawiki,
152 tests/writer.textile,
154 tests/writer.opendocument,
156 tests/writer.asciidoc,
159 tests/writer.texinfo,
162 tests/lhs-test.native,
163 tests/lhs-test-markdown.native,
164 tests/lhs-test.markdown,
165 tests/lhs-test.markdown+lhs,
167 tests/lhs-test.rst+lhs,
168 tests/lhs-test.latex,
169 tests/lhs-test.latex+lhs,
171 tests/lhs-test.html+lhs,
172 tests/lhs-test.fragment.html+lhs,
173 tests/pipe-tables.txt,
174 tests/pipe-tables.native,
175 tests/fb2.basic.markdown,
177 tests/fb2.titles.markdown,
178 tests/fb2.titles.fb2,
179 tests/fb2.images.markdown,
180 tests/fb2.images.fb2,
181 tests/fb2.images-embedded.html,
182 tests/fb2.images-embedded.fb2,
183 tests/fb2.math.markdown,
185 tests/fb2.test-small.png,
187Extra-Tmp-Files: man/man1/pandoc.1,
188 man/man5/pandoc_markdown.5
190Source-repository head
192 location: git://github.com/jgm/pandoc.git
195 Description: Embed data files in binary for relocatable executable.
199 Description: Enable downloading of resources over https.
203 Build-Depends: base >= 4.2 && <5,
205 containers >= 0.1 && < 0.6,
206 unordered-containers >= 0.2 && < 0.3,
207 array >= 0.3 && < 0.6,
208 parsec >= 3.1 && < 3.2,
210 network >= 2 && < 2.6,
211 filepath >= 1.1 && < 1.4,
212 process >= 1 && < 1.3,
213 directory >= 1 && < 1.3,
214 bytestring >= 0.9 && < 0.11,
215 text >= 0.11 && < 1.2,
216 zip-archive >= 0.1.3.3 && < 0.3,
217 old-locale >= 1 && < 1.1,
218 time >= 1.2 && < 1.5,
219 HTTP >= 4000.0.5 && < 4000.3,
220 texmath >= 0.6.6 && < 0.7,
221 xml >= 1.3.12 && < 1.4,
222 random >= 1 && < 1.1,
223 extensible-exceptions >= 0.1 && < 0.2,
224 pandoc-types >= 1.12.3.3 && < 1.13,
225 aeson >= 0.7 && < 0.8,
226 tagsoup >= 0.13.1 && < 0.14,
227 base64-bytestring >= 0.1 && < 1.1,
228 zlib >= 0.5 && < 0.6,
229 highlighting-kate >= 0.5.6 && < 0.6,
230 data-default >= 0.4 && < 0.6,
231 temporary >= 1.1 && < 1.3,
232 blaze-html >= 0.5 && < 0.8,
233 blaze-markup >= 0.5.1 && < 0.7,
234 attoparsec >= 0.10 && < 0.12,
235 yaml >= 0.8.8.2 && < 0.9,
236 scientific >= 0.2 && < 0.3,
237 vector >= 0.10 && < 0.11,
238 hslua >= 0.3 && < 0.4,
239 binary >= 0.5 && < 0.8
240 Build-Tools: alex, happy
241 if flag(http-conduit)
242 Build-Depends: http-conduit >= 1.9 && < 2.2,
243 http-types >= 0.8 && < 0.9
244 cpp-options: -DHTTP_CONDUIT
245 if flag(embed_data_files)
246 cpp-options: -DEMBED_DATA_FILES
247 -- Build-Tools: hsb2hs -- not yet recognized by cabal
248 other-modules: Text.Pandoc.Data
250 Cpp-options: -D_WINDOWS
251 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
252 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
253 Default-Language: Haskell98
254 Other-Extensions: PatternGuards, OverloadedStrings,
255 ScopedTypeVariables, GeneralizedNewtypeDeriving,
256 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
260 Exposed-Modules: Text.Pandoc,
264 Text.Pandoc.Readers.HTML,
265 Text.Pandoc.Readers.LaTeX,
266 Text.Pandoc.Readers.Markdown,
267 Text.Pandoc.Readers.MediaWiki,
268 Text.Pandoc.Readers.RST,
269 Text.Pandoc.Readers.Org,
270 Text.Pandoc.Readers.DocBook,
271 Text.Pandoc.Readers.OPML,
272 Text.Pandoc.Readers.TeXMath,
273 Text.Pandoc.Readers.Textile,
274 Text.Pandoc.Readers.Native,
275 Text.Pandoc.Readers.Haddock,
276 Text.Pandoc.Writers.Native,
277 Text.Pandoc.Writers.Docbook,
278 Text.Pandoc.Writers.OPML,
279 Text.Pandoc.Writers.HTML,
280 Text.Pandoc.Writers.ICML,
281 Text.Pandoc.Writers.LaTeX,
282 Text.Pandoc.Writers.ConTeXt,
283 Text.Pandoc.Writers.OpenDocument,
284 Text.Pandoc.Writers.Texinfo,
285 Text.Pandoc.Writers.Man,
286 Text.Pandoc.Writers.Markdown,
287 Text.Pandoc.Writers.RST,
288 Text.Pandoc.Writers.Org,
289 Text.Pandoc.Writers.AsciiDoc,
290 Text.Pandoc.Writers.Custom,
291 Text.Pandoc.Writers.Textile,
292 Text.Pandoc.Writers.MediaWiki,
293 Text.Pandoc.Writers.RTF,
294 Text.Pandoc.Writers.ODT,
295 Text.Pandoc.Writers.Docx,
296 Text.Pandoc.Writers.EPUB,
297 Text.Pandoc.Writers.FB2,
300 Text.Pandoc.Templates,
302 Text.Pandoc.SelfContained,
304 Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
305 Text.Pandoc.Readers.Haddock.Parse,
306 Text.Pandoc.Writers.Shared,
311 Text.Pandoc.ImageSize,
313 Text.Pandoc.Highlighting,
314 Text.Pandoc.Compat.Monoid,
315 Text.Pandoc.Compat.TagSoupEntity,
321 Build-Depends: pandoc,
322 pandoc-types >= 1.12.3.3 && < 1.13,
324 directory >= 1 && < 1.3,
325 filepath >= 1.1 && < 1.4,
326 network >= 2 && < 2.6,
327 text >= 0.11 && < 1.2,
328 bytestring >= 0.9 && < 0.11,
329 extensible-exceptions >= 0.1 && < 0.2,
330 highlighting-kate >= 0.5.6 && < 0.6,
331 aeson >= 0.7 && < 0.8,
332 yaml >= 0.8.8.2 && < 0.9,
333 containers >= 0.1 && < 0.6,
334 HTTP >= 4000.0.5 && < 4000.3
335 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
336 Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
338 Cpp-options: -D_WINDOWS
339 Default-Language: Haskell98
340 Other-Extensions: PatternGuards, OverloadedStrings,
341 ScopedTypeVariables, GeneralizedNewtypeDeriving,
342 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
348-- NOTE: A trick in Setup.hs makes sure this won't be installed:
349Executable make-pandoc-man-pages
350 Main-Is: make-pandoc-man-pages.hs
352 Build-Depends: pandoc,
354 directory >= 1 && < 1.3,
355 filepath >= 1.1 && < 1.4,
356 old-time >= 1.0 && < 1.2,
358 Default-Language: Haskell98
360Test-Suite test-pandoc
361 Type: exitcode-stdio-1.0
362 Main-Is: test-pandoc.hs
363 Hs-Source-Dirs: tests
364 Build-Depends: base >= 4.2 && < 5,
367 pandoc-types >= 1.12.3.3 && < 1.13,
368 bytestring >= 0.9 && < 0.11,
369 text >= 0.11 && < 1.2,
370 directory >= 1 && < 1.3,
371 filepath >= 1.1 && < 1.4,
372 process >= 1 && < 1.3,
373 highlighting-kate >= 0.5.6 && < 0.6,
374 Diff >= 0.2 && < 0.4,
375 test-framework >= 0.3 && < 0.9,
376 test-framework-hunit >= 0.2 && < 0.4,
377 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
378 QuickCheck >= 2.4 && < 2.8,
379 HUnit >= 1.2 && < 1.3,
380 containers >= 0.1 && < 0.6,
381 ansi-terminal >= 0.5 && < 0.7
382 Other-Modules: Tests.Old
388 Tests.Readers.Markdown
392 Tests.Writers.ConTeXt
394 Tests.Writers.Markdown
395 Tests.Writers.AsciiDoc
397 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
398 Default-Language: Haskell98
400benchmark benchmark-pandoc
401 Type: exitcode-stdio-1.0
402 Main-Is: benchmark-pandoc.hs
403 Hs-Source-Dirs: benchmark
404 Build-Depends: pandoc,
407 criterion >= 0.5 && < 0.9
408 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
409 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