No description
Find a file
John MacFarlane bd13077ce0 JATS reader: support edition in references.
Closes #8087.
Note: we strip off any non-digits, since CSL wants "4" rather
than "4th ed."
2022-05-31 12:01:15 -07:00
.circleci CircleCI: use homebrew not curl to install stack. 2021-10-23 19:03:08 -07:00
.github nightly: use ghcup instead of haskell/actions 2022-04-24 22:52:03 -07:00
app Copyright notices: update for 2022 2022-01-02 11:59:22 -08:00
benchmark Copyright notices: update for 2022 2022-01-02 11:59:22 -08:00
citeproc/biblatex-localization
data LaTeX template: fix links-as-notes 2022-05-17 16:12:53 +02:00
doc JATS template: allow multiple licenses to be given. 2022-04-04 10:05:32 +02:00
linux add armhf support (#7944) 2022-02-28 09:03:25 -08:00
macos
man Update manfilter for greater portability. 2022-04-27 10:02:37 -07:00
src/Text JATS reader: support edition in references. 2022-05-31 12:01:15 -07:00
test Org reader: support line selection in INCLUDE directives. (#8060) 2022-05-20 09:46:16 +02:00
tools Lua docs: fix typos, missing links 2022-02-07 09:30:12 +01:00
trypandoc Fix 'make trypandoc' target. 2022-01-12 22:33:56 -08:00
windows
.editorconfig
.gitattributes
.gitignore Add DS_Store to .gitignore. 2022-01-16 12:11:03 -08:00
.hlint.yaml
.mailmap
.stylish-haskell.yaml
AUTHORS.md Update AUTHORS.md. 2022-04-04 09:47:32 -07:00
BUGS
cabal.project Use latest doclayout (0.4) 2022-04-03 23:13:48 -07:00
changelog.md Fix 2.18 release date in changelog. 2022-04-17 13:14:57 -07:00
CONTRIBUTING.md
COPYING.md
COPYRIGHT Copyright notices: update for 2022 2022-01-02 11:59:22 -08:00
default.nix
INSTALL.md Add lua53 flag. 2022-03-28 10:06:52 -07:00
Makefile Use timestamp when storing latest bench. 2022-03-31 10:26:06 -07:00
MANUAL.txt Remove "m." subdomain from Wikipedia link (#8076) 2022-05-17 08:19:05 -07:00
pandoc.cabal Add 'nightly' flag. 2022-04-12 18:03:26 -07:00
README.md Regenerate README.md. 2022-04-04 09:40:33 -07:00
README.template Copyright notices: update for 2022 2022-01-02 11:59:22 -08:00
RELEASE-CHECKLIST RELEASE-CHECKLIST: remove CircleCI step. 2022-01-30 12:41:27 -08:00
release.nix
SECURITY.md
Setup.hs
shell.nix Add pandoc-lua-marshal to Nix shell (#7849) 2022-01-18 14:17:04 -08:00
stack.yaml stack.yaml: Use latest unicode-transforms. 2022-04-04 09:40:05 -07:00

Pandoc

github
release hackage
release homebrew stackage LTS
package CI
tests license pandoc-discuss on google
groups

The universal markup converter

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can convert from

It can convert to

Pandoc can also produce PDF output via LaTeX, Groff ms, or HTML.

Pandocs enhanced version of Markdown includes syntax for tables, definition lists, metadata blocks, footnotes, citations, math, and much more. See the Users Manual below under Pandocs Markdown.

Pandoc has a modular design: it consists of a set of readers, which parse text in a given format and produce a native representation of the document (an abstract syntax tree or AST), and a set of writers, which convert this native representation into a target format. Thus, adding an input or output format requires only adding a reader or writer. Users can also run custom pandoc filters to modify the intermediate AST (see the documentation for filters and Lua filters).

Because pandocs intermediate representation of a document is less expressive than many of the formats it converts between, one should not expect perfect conversions between every format and every other. Pandoc attempts to preserve the structural elements of a document, but not formatting details such as margin size. And some document elements, such as complex tables, may not fit into pandocs simple document model. While conversions from pandocs Markdown to all formats aspire to be perfect, conversions from formats more expressive than pandocs Markdown can be expected to be lossy.

Installing

Heres how to install pandoc.

Documentation

Pandocs website contains a full Users Guide. It is also available here as pandoc-flavored Markdown. The website also contains some examples of the use of pandoc and a limited online demo.

Contributing

Pull requests, bug reports, and feature requests are welcome. Please make sure to read the contributor guidelines before opening a new issue.

License

© 2006-2022 John MacFarlane (jgm@berkeley.edu). Released under the GPL, version 2 or greater. This software carries no warranty of any kind. (See COPYRIGHT for full copyright and warranty notices.)