Go to file
John MacFarlane 6149cec27a Update command test for SVG embedding changes. 2023-11-25 11:39:22 -05:00
.circleci CircleCI: use homebrew not curl to install stack. 2021-10-23 19:03:08 -07:00
.github Switch to actions/checkout@v4. 2023-09-10 21:11:16 -07:00
benchmark Update copyright years, it's 2023! 2023-01-10 20:28:27 +01:00
citeproc/biblatex-localization Add built-in citation support using new citeproc library. 2020-09-21 10:15:50 -07:00
data Update default.typst to support csl (#9186) 2023-11-14 19:46:18 -08:00
doc Lua filters documentation: remove reference to phrenology. 2023-08-25 16:23:52 -07:00
linux Add cabal update and clean to make_artifacts.sh. 2023-08-31 12:45:14 -07:00
macos macos Makefile: change to using notarytool. 2023-06-24 14:22:46 -07:00
man Update MANUAL.txt date and man page. 2023-10-27 12:55:56 -07:00
pandoc-cli Bump pandoc-cli version to 0.1.1.1. 2023-07-21 08:25:37 -07:00
pandoc-lua-engine Lua: Use the newest LPeg version (lpeg-1.1.*) 2023-09-27 21:04:49 +02:00
pandoc-server pandoc-server: allow text 2.1. 2023-08-31 09:28:26 -07:00
src/Text SelfContained: improve treatment of embedded SVGs. 2023-11-25 11:35:10 -05:00
test Update command test for SVG embedding changes. 2023-11-25 11:39:22 -05:00
tools lua-filters: auto-generate docs for `pandoc.system` module. 2023-03-20 16:06:19 +01:00
windows Use new Windows code signing cert. 2023-04-25 23:15:56 -07:00
xml-light/Text/Pandoc/XML Update copyright years, it's 2023! 2023-01-10 20:28:27 +01:00
.cirrus.yml Use ghc 9.6 for release builds. 2023-08-04 13:54:04 -07:00
.editorconfig Fix .editorconfig so Emacs can open zip archives and docx again. 2021-05-15 19:55:00 -07:00
.gitattributes Lua: Support built-in default templates for custom writers 2022-10-14 10:37:37 -07:00
.gitignore weeder.dhall -> weeder.toml 2023-10-30 17:40:29 -07:00
.hlint.yaml .hlint.yaml: ignore "Use <&>" 2022-10-30 10:59:24 -07:00
.mailmap Add .mailmap 2019-01-07 08:44:40 +03:00
.stylish-haskell.yaml More spellcheck 2018-07-02 19:07:28 +03:00
AUTHORS.md Update AUTHORS.md. 2023-10-27 12:59:49 -07:00
BUGS BUGS: Added reference to CONTRIBUTING.md. 2013-04-14 22:14:44 -07:00
CITATION.cff Add CITATION.cff. 2022-11-10 15:50:41 -08:00
CONTRIBUTING.md CONTRIBUTING.md: update info on ghc versions. 2023-04-17 20:35:48 -07:00
COPYING.md Fix/update URLs and use HTTP**S** where possible (#7122) 2021-02-26 17:56:04 -08:00
COPYRIGHT Update copyright years, it's 2023! 2023-01-10 20:28:27 +01:00
INSTALL.md mention alternatives to LaTeX to generate pdf 2023-06-22 10:50:44 -07:00
MANUAL.txt MANUAL.txt: update defaults file docs for bibliography fields. 2023-11-09 08:10:46 -08:00
Makefile Add Makefile targets for pandoc-lua.1, pandoc-server.1. 2023-08-31 17:57:01 -07:00
README.md Update README.md. 2023-10-27 12:56:15 -07:00
README.template correct year in footer for licensing (2022->2023) (#8614) 2023-02-11 08:58:29 -08:00
RELEASE-CHECKLIST Update RELEASE-CHECKLIST to integrate the new cirrus builds. 2023-03-12 18:38:41 -07:00
SECURITY.md Add link to the manual's note on security to SECURITY.md. 2021-06-14 10:35:29 -07:00
cabal.project Update to latest dev typst-hs. 2023-11-07 12:51:18 -08:00
changelog.md Bump to 3.1.9, update changelog. 2023-10-27 12:34:16 -07:00
default.nix Use simple default.nix. 2021-01-13 09:52:09 -08:00
flake.lock Simplify and fix flake.nix. 2023-05-09 12:37:13 -07:00
flake.nix update nix flake with deps 2023-09-16 00:00:50 -07:00
hie.yaml Regenerate hie.yaml 2022-10-20 19:53:19 -07:00
pandoc.cabal Bump to 3.1.9, update changelog. 2023-10-27 12:34:16 -07:00
release.nix Use project.nix instead of default.nix for generated file. 2021-01-12 22:32:26 -08:00
shell.nix Added some more dependencies to shell.nix. 2023-06-27 16:00:26 -07:00
stack.yaml Update to latest dev typst-hs. 2023-11-07 12:51:18 -08:00
weeder.toml weeder.dhall -> weeder.toml 2023-10-30 17:40:29 -07:00

README.md

Pandoc

githubrelease hackagerelease homebrew stackage LTSpackage CItests license pandoc-discuss on googlegroups

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-2023 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.)