jgm/pandoc

Haskellpandoc.org
macOSWindowsLinux

Universal markup converter

pandochaskellmarkdownmarkupconverterpublishingdocumentpresentationcommonmark
Star 增长趋势
Star
46.2k
Forks
4k
周增长
+95
Issues
954
20k40k
2011年2月2016年4月2021年6月2026年9月
README

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.

Pandoc’s enhanced version of Markdown includes syntax for tables, definition lists, metadata blocks, footnotes, citations, math, and much more. See the User’s Manual below under Pandoc’s 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 pandoc’s 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 pandoc’s simple document model. While conversions from pandoc’s Markdown to all formats aspire to be perfect, conversions from formats more expressive than pandoc’s Markdown can be expected to be lossy.

Installing

Here’s how to install pandoc.

Documentation

Pandoc’s website contains a full User’s Guide. It is also available here as pandoc-flavored Markdown. The website also contains some examples of the use of pandoc, a limited online demo, and a WebAssembly-based 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.)

相关仓库
VERT-sh/VERT

The next-generation file converter. Open source, fully local* and free forever.

SvelteGNU Affero General Public License v3.0conversionffmpeg
vert.sh
15.5k826
Zettlr/Zettlr

Your One-Stop Publication Workbench

TypeScriptnpmappGNU General Public License v3.0officeproductivity
zettlr.com
13.5k839
xwmx/nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.

ShellcliGNU Affero General Public License v3.0notesbash
xwmx.github.io/nb
8.4k251
Wandmalfarbe/pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.

ShellBSD 3-Clause "New" or "Revised" Licensepandocpandoc-template
7.2k1k
RICHQAQ/PasteMD

一键将 Markdown 和网页 AI 对话(ChatGPT/DeepSeek等)完美粘贴到 Word、WPS 和 Excel 的效率工具 | One-click paste Markdown and AI responses (ChatGPT/DeepSeek) into Word, WPS, and Excel perfectly.

PythonPyPIGNU Affero General Public License v3.0aichatgpt
pastemd.richqaq.cn
5.2k318
shd101wyy/markdown-preview-enhanced

One of the 'BEST' markdown preview extensions for Atom editor!

HTMLOtheratomatom-package
shd101wyy.github.io/markdown-preview-enhanced
4.4k530
noraj/OSCP-Exam-Report-Template-Markdown

:orange_book: Markdown Templates for Offensive Security OSCP, OSWE, OSCE, OSEE, OSWP exam report

RubyRubyGemstutorialMIT Licenseoscpoffensive-security
noraj.github.io/OSCP-Exam-Report-Template-Markdown/
4.2k839
rstudio/rmarkdown

Dynamic Documents for R

RlibraryOtherrr-package
rmarkdown.rstudio.com
3.1k991
jaspervdj/patat

Terminal-based presentations using Pandoc

HaskellcliGNU General Public License v2.0pandochaskell
2.7k66
jgm/djot

A light markup language

Emacs LisplibraryMIT Licensecommonmarklua
djot.net
2k59
pmh1314520/WebRPA

A powerful no-code automation tool. Build workflows via drag-and-drop modules for web scraping, form filling and automated testing. | 一款功能强大的自动化工具,通过拖拽模块的方式快速构建自动化工作流,无需编写任何代码即可实现网页数据采集、表单填写、自动化测试等任务。【QQ交流群:115069513】

PythonPyPIOtherddddocreasyocr
rpa.pmhs.top
1.9k185
alxnbl/onenote-md-exporter

ConsoleApp to export OneNote notebooks to Markdown formats

C#cliGNU General Public License v3.0onenotejoplin
1.6k143