jgm / pandoc
git clone https://github.com/jgm/pandoc.git
3.12.1 · 13d ago
🔥 on GitHub Trending today
Haskell library and command-line tool that converts documents between many markup formats, such as Markdown, LaTeX, HTML, DOCX, and EPUB.
Why you might care
Pandoc reads dozens of input formats and writes dozens of outputs through a common intermediate AST, so one tool covers most document conversions. It is useful for publishing pipelines, academic writing with citations, and turning Markdown into PDF, Word, or e-book files.
+7
stars, 24h · #1,870
+104
stars, 7 days · #1,215
+512
stars, 30 days · #1,024
47k
★ total · +0% this week
6.5k
forks · 1.0k open issues
Star history (as recorded here)
LanguageHaskell
LicenseGPL-2.0
Created2010-03-20 (16y ago)
Last push1d ago
Watchers539
OwnerUser
Seen on GitHub Trending
- 2026-10-21 — #7 daily in haskell · +21 ★
- 2026-10-21 — #1 monthly in haskell · +512 ★
- 2026-10-21 — #1 weekly in haskell · +104 ★
- 2026-10-20 — #7 daily in haskell · +9 ★
- 2026-10-20 — #1 monthly in haskell · +504 ★
- 2026-10-20 — #1 weekly in haskell · +87 ★
GitHub topics
Links
- GitHub: github.com/jgm/pandoc
- Homepage: https://pandoc.org
- Releases · Issues · Hacker News mentions
README excerpt
# Pandoc ## 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* - `asciidoc` (AsciiDoc markup) - `bibtex` (BibTeX bibliography) - `biblatex` (BibLaTeX bibliography) - `bits` (BITS XML, alias for `jats`) - `commonmark` (CommonMark Markdown) - `commonmark_x` (CommonMark Markdown with extensions) - `creole` (Creole 1.0) - `csljson` (CSL JSON bibliography) - `csv` (CSV table) - `tsv` (TSV table) - `djot` (Djot markup) - `docbook` (DocBook) - `docx` (Word docx) - `dokuwiki` (DokuWiki markup) - `endnotexml` (EndNote XML bibliography) - `epub` (EPUB) - `fb2` (FictionBook2 e-book) - `fodt` (flat OpenDocument text document) - `gfm` (GitHub-Flavored Markdown), or the deprecated and less accurate `markdown_github`; use `markdown_github` only if you need extensions not supported in `gfm`. - `haddock` (Haddock markup) - `html` (HTML) - `ipynb` (Jupyter notebook) - `jats` (JATS XML) - `jira` (Jira/Confluence wiki markup) - `json` (JSON version of native AST) - `latex` (LaTeX) - `markdown` (Pandoc’s Markdown) - `markdown_mmd` (MultiMarkdown) - `markdown_phpextra` (PHP Markdown Extra) - `markdown_strict` (original unextended Markdown) - `mediawiki` (MediaWiki markup) - `man` (roff man)) - `mdoc` (mdoc manual page markup) - `muse` (Muse) - `native` (native Haskell) - `odt` (OpenDocument text document) - `opml` (OPML) - `org` (Emacs Org mode) - `pod` (Perl’s Plain Old Documentation) - `pptx` (PowerPoint) - `ris` (RIS) bibliography) - `rtf` (Rich Text Format) - `rst` (reStructuredText) - `t2t` (txt2tags) - `textile` (Textile) - `tikiwiki` (TikiWiki markup) - `twiki` (TWiki markup) - `typst` (typst) - `vimwiki` (Vimwiki) - `xlsx` (Excel spreadsheet) - `xml` (XML version of native AST) - the path of a custom Lua reader, see Custom readers and writers below It can convert *to* - `ansi` (text with ANSI escape codes, for terminal viewing) - `asciidoc` (modern AsciiDoc as interpreted by Asciidoctor) - `asciidoc_legacy` (AsciiDoc as interpreted by `asciidoc-py`). - `asciidoctor` (deprecated synonym for `asciidoc`) - `bbcode` BBCode - `bbcode_fluxbb` BBCode (FluxBB) - `bbcode_phpbb` BBCode (phpBB) - `bbcode_steam` BBCode (Steam) - `bbcode_hubzilla` BBCode (Hubzilla) - `bbcode_xenforo` BBCode (xenForo) - `beamer` (LaTeX beamer slide show) - `bibtex` (BibTeX bibliography) - `biblatex` (BibLaTeX bibliography) - `chunkedhtml` (zip archive of multiple linked HTML files) - `commonmark` (CommonMark Markdown) - `commonmark_x` (CommonMark Markdown with extensions) - `context` (ConTeXt) - `csljson` (CSL JSON bibliography) - `djot` (Djot markup) - `docbook` or `docbook4` (DocBook 4) - `docbook5` (DocBook 5) - `docx` (Word docx) - `dokuwiki` (DokuWiki markup) - `epub` or `epub3` (EPUB v3 book) - `epub2` (EPUB v2) - `fb2` (FictionBook2 e-book) - `fodt` (flat OpenDocument text document) - `gfm` (GitHub-Flavored
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.