No description
Find a file
John MacFarlane c79ef1270e
Some checks failed
CI tests / linux (map[cabal:latest cabalopts: ghc:8.10 ghcopts:-Werror]) (push) Has been cancelled
CI tests / linux (map[cabal:latest cabalopts: ghc:9.0 ghcopts:-Werror]) (push) Has been cancelled
CI tests / linux (map[cabal:latest cabalopts: ghc:9.10 ghcopts:]) (push) Has been cancelled
CI tests / linux (map[cabal:latest cabalopts: ghc:9.2 ghcopts:-Werror]) (push) Has been cancelled
CI tests / linux (map[cabal:latest cabalopts: ghc:9.4 ghcopts:-Werror]) (push) Has been cancelled
CI tests / linux (map[cabal:latest cabalopts: ghc:9.6 ghcopts:-Werror]) (push) Has been cancelled
CI tests / linux (map[cabal:latest cabalopts: ghc:9.8 ghcopts:-Werror]) (push) Has been cancelled
CI tests / linux-stack (push) Has been cancelled
CI tests / windows (push) Has been cancelled
commit-validation / check-commit-msg-length (push) Has been cancelled
Fix 9495 command test for windows.
2025-01-10 23:43:32 -08:00
.github nightly workflow: use ghc 9.8, cabal 3.14. 2025-01-08 08:54:10 -08:00
benchmark Update copyright dates to 2024. 2024-04-25 18:16:49 -07:00
citeproc/biblatex-localization Add built-in citation support using new citeproc library. 2020-09-21 10:15:50 -07:00
data Docx writer: restart footnotes by section by default. 2024-12-22 13:18:27 -08:00
doc doc/lua-filters.md: Fix links to constructors. 2024-12-10 11:06:37 +01:00
linux linux/make_artifacts.sh: add riscv64 support 2024-09-19 08:20:27 -07:00
macos chore: fix some comments 2024-08-29 21:23:17 -07:00
man Move man pages to pandoc-cli package. 2023-12-09 09:55:13 -08:00
pandoc-cli Update MANUAL.txt date and regenerate man pages. 2024-12-22 23:34:13 -08:00
pandoc-lua-engine pandoc-lua-engine: bump to 0.4.1. 2024-12-23 00:51:49 -08:00
pandoc-server Depend on typst 0.6.1 2024-12-07 13:55:11 -08:00
src/Text Docx reader and writer: support row heads. 2025-01-10 22:50:17 -08:00
test Fix 9495 command test for windows. 2025-01-10 23:43:32 -08:00
tools lua-filters.md: Partially autogenerate docs for module "pandoc" 2024-07-08 16:30:45 +02:00
windows Use new Windows code signing cert. 2023-04-25 23:15:56 -07:00
xml-light/Text/Pandoc/XML chore: fix some comments 2024-08-29 21:23:17 -07:00
.cirrus.yml Use images from Quay (#9411) 2024-02-05 09:04:30 -08: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 Add to AUTHORS.md. 2024-12-07 17:58:53 -08:00
BUGS BUGS: Added reference to CONTRIBUTING.md. 2013-04-14 22:14:44 -07:00
cabal.project Use latest dev texmath. 2025-01-05 23:43:15 -08:00
changelog.md Update changelog. 2024-12-23 10:38:01 -08:00
CITATION.cff Add CITATION.cff. 2022-11-10 15:50:41 -08:00
CONTRIBUTING.md Add to cli options seciton in CONTRIBUTING. 2024-09-08 08:55:49 -07:00
COPYING.md Fix/update URLs and use HTTP**S** where possible (#7122) 2021-02-26 17:56:04 -08:00
COPYRIGHT Update more copyright dates to 2024. 2024-06-08 16:46:42 +02:00
default.nix default.nix: add happy, which is needed by toml-parser. 2025-01-02 09:56:11 -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
INSTALL.md INSTALL.md — reorganise info on static binaries and add conda-forge install options (#10098) 2024-08-28 09:26:15 -07:00
Makefile Makefile add prof target 2024-12-20 10:01:01 -08:00
MANUAL.txt Docx reader: read table styles as custom styles... 2025-01-10 10:30:08 -08:00
pandoc.cabal Docx reader: read table styles as custom styles... 2025-01-10 10:30:08 -08:00
README.md Regenerate README.md 2024-12-07 17:39:31 -08:00
README.template Update copyright dates to 2024. 2024-04-25 18:16:49 -07:00
RELEASE-CHECKLIST Minor changes to release checklist 2023-12-12 19:08:24 -08:00
release.nix Use project.nix instead of default.nix for generated file. 2021-01-12 22:32:26 -08:00
SECURITY.md Add link to the manual's note on security to SECURITY.md. 2021-06-14 10:35:29 -07:00
shell.nix shell.nix - comment out things that break CI. 2024-03-17 18:28:39 -07:00
stack.yaml Depend on skylighting 0.14.6 2025-01-07 15:21:48 -08:00
weeder.toml weeder.dhall -> weeder.toml 2023-10-30 17:40:29 -07:00
wml.xsd.patch test(docx): add workaround for mc:Ignorable 2023-12-18 17:15:03 -08: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-2024 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.)