{"id":13401486,"url":"https://github.com/jgm/pandoc","last_synced_at":"2025-05-12T18:02:04.721Z","repository":{"id":845676,"uuid":"571770","full_name":"jgm/pandoc","owner":"jgm","description":"Universal markup converter","archived":false,"fork":false,"pushed_at":"2025-05-04T19:51:01.000Z","size":67297,"stargazers_count":37215,"open_issues_count":1121,"forks_count":3502,"subscribers_count":518,"default_branch":"main","last_synced_at":"2025-05-05T15:19:37.780Z","etag":null,"topics":["commonmark","converter","document","haskell","markdown","markup","pandoc","presentation","publishing"],"latest_commit_sha":null,"homepage":"https://pandoc.org","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgm.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["jgm","tarleb","silby"]}},"created_at":"2010-03-20T20:34:23.000Z","updated_at":"2025-05-05T15:19:34.000Z","dependencies_parsed_at":"2023-01-16T18:30:15.798Z","dependency_job_id":"fd29767c-be7b-437a-a918-ee5a189955a8","html_url":"https://github.com/jgm/pandoc","commit_stats":{"total_commits":16865,"total_committers":583,"mean_commits":28.92795883361921,"dds":"0.24862140527720133","last_synced_commit":"9f32f07bcae6fd27e645a832bdf2316c57156418"},"previous_names":[],"tags_count":252,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fpandoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fpandoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fpandoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgm%2Fpandoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgm","download_url":"https://codeload.github.com/jgm/pandoc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253794389,"owners_count":21965482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commonmark","converter","document","haskell","markdown","markup","pandoc","presentation","publishing"],"created_at":"2024-07-30T19:01:03.313Z","updated_at":"2025-05-12T18:02:04.659Z","avatar_url":"https://github.com/jgm.png","language":"Haskell","funding_links":["https://github.com/sponsors/jgm","https://github.com/sponsors/tarleb","https://github.com/sponsors/silby"],"categories":["Haskell","Documents and Writing.","Table of Contents","Uncategorized","Documentation and Presentation","docs","Interoperability and Standards","其他_NLP自然语言处理","Windows 软件","haskell","Tools","Office","publishing","Markdown Building Blocks","转换工具","Document Converter","Repository app"],"sub_categories":["Tools","Uncategorized","其他_文本生成、文本对话","Haskell","Thumbnail Generation / Thumbnail Engines","Markdown Libraries \u0026 Tools","开发组件","Open USP Tsukubai"],"readme":"\u003c!-- Do not edit this file.  It is generated automatically from\nREADME.template and MANUAL.txt via the command:\npandoc --lua-filter tools/update-readme.lua README.template -o README.md\n--\u003e\n\n# Pandoc\n\n[![github\nrelease](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)\n[![hackage\nrelease](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](https://hackage.haskell.org/package/pandoc)\n[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](https://formulae.brew.sh/formula/pandoc)\n[![stackage LTS\npackage](https://stackage.org/package/pandoc/badge/lts)](https://www.stackage.org/lts/package/pandoc)\n[![CI\ntests](https://github.com/jgm/pandoc/workflows/CI%20tests/badge.svg)](https://github.com/jgm/pandoc/actions)\n[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)\n[![pandoc-discuss on google\ngroups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss)\n\n## The universal markup converter\n\nPandoc is a [Haskell](https://haskell.org) library for converting from\none markup format to another, and a command-line tool that uses this\nlibrary.\n\nIt can convert *from*\n\n\u003cdiv id=\"input-formats\"\u003e\n\n- `bibtex` ([BibTeX](https://ctan.org/pkg/bibtex) bibliography)\n- `biblatex` ([BibLaTeX](https://ctan.org/pkg/biblatex) bibliography)\n- `bits` ([BITS](https://jats.nlm.nih.gov/extensions/bits/) XML, alias\n  for `jats`)\n- `commonmark` ([CommonMark](https://commonmark.org) Markdown)\n- `commonmark_x` ([CommonMark](https://commonmark.org) Markdown with\n  extensions)\n- `creole` ([Creole 1.0](http://www.wikicreole.org/wiki/Creole1.0))\n- `csljson` ([CSL\n  JSON](https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html)\n  bibliography)\n- `csv` ([CSV](https://tools.ietf.org/html/rfc4180) table)\n- `tsv`\n  ([TSV](https://www.iana.org/assignments/media-types/text/tab-separated-values)\n  table)\n- `djot` ([Djot markup](https://djot.net))\n- `docbook` ([DocBook](https://docbook.org))\n- `docx` ([Word docx](https://en.wikipedia.org/wiki/Office_Open_XML))\n- `dokuwiki` ([DokuWiki markup](https://www.dokuwiki.org/dokuwiki))\n- `endnotexml` ([EndNote XML\n  bibliography](https://support.clarivate.com/Endnote/s/article/EndNote-XML-Document-Type-Definition))\n- `epub` ([EPUB](http://idpf.org/epub))\n- `fb2`\n  ([FictionBook2](http://www.fictionbook.org/index.php/Eng:XML_Schema_Fictionbook_2.1)\n  e-book)\n- `gfm` ([GitHub-Flavored\n  Markdown](https://help.github.com/articles/github-flavored-markdown/)),\n  or the deprecated and less accurate `markdown_github`; use\n  [`markdown_github`](https://pandoc.org/MANUAL.html#markdown-variants)\n  only if you need extensions not supported in\n  [`gfm`](https://pandoc.org/MANUAL.html#markdown-variants).\n- `haddock` ([Haddock\n  markup](https://www.haskell.org/haddock/doc/html/ch03s08.html))\n- `html` ([HTML](https://www.w3.org/html/))\n- `ipynb` ([Jupyter\n  notebook](https://nbformat.readthedocs.io/en/latest/))\n- `jats` ([JATS](https://jats.nlm.nih.gov) XML)\n- `jira`\n  ([Jira](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all)/Confluence\n  wiki markup)\n- `json` (JSON version of native AST)\n- `latex` ([LaTeX](https://www.latex-project.org/))\n- `markdown` ([Pandoc’s\n  Markdown](https://pandoc.org/MANUAL.html#pandocs-markdown))\n- `markdown_mmd`\n  ([MultiMarkdown](https://fletcherpenney.net/multimarkdown/))\n- `markdown_phpextra` ([PHP Markdown\n  Extra](https://michelf.ca/projects/php-markdown/extra/))\n- `markdown_strict` (original unextended\n  [Markdown](https://daringfireball.net/projects/markdown/))\n- `mediawiki` ([MediaWiki\n  markup](https://www.mediawiki.org/wiki/Help:Formatting))\n- `man` ([roff man](https://man.cx/groff_man(7)))\n- `mdoc` ([mdoc](https://mandoc.bsd.lv/man/mdoc.7.html) manual page\n  markup)\n- `muse` ([Muse](https://amusewiki.org/library/manual))\n- `native` (native Haskell)\n- `odt` ([OpenDocument text\n  document](https://en.wikipedia.org/wiki/OpenDocument))\n- `opml` ([OPML](http://dev.opml.org/spec2.html))\n- `org` ([Emacs Org mode](https://orgmode.org))\n- `pod` (Perl’s [Plain Old\n  Documentation](https://perldoc.perl.org/perlpod))\n- `ris` ([RIS](https://en.wikipedia.org/wiki/RIS_(file_format))\n  bibliography)\n- `rtf` ([Rich Text\n  Format](https://en.wikipedia.org/wiki/Rich_Text_Format))\n- `rst`\n  ([reStructuredText](https://docutils.sourceforge.io/docs/ref/rst/introduction.html))\n- `t2t` ([txt2tags](https://txt2tags.org))\n- `textile` ([Textile](https://textile-lang.com))\n- `tikiwiki` ([TikiWiki\n  markup](https://doc.tiki.org/Wiki-Syntax-Text#The_Markup_Language_Wiki-Syntax))\n- `twiki` ([TWiki\n  markup](https://twiki.org/cgi-bin/view/TWiki/TextFormattingRules))\n- `typst` ([typst](https://typst.app))\n- `vimwiki` ([Vimwiki](https://vimwiki.github.io))\n- the path of a custom Lua reader, see [Custom readers and\n  writers](https://pandoc.org/MANUAL.html#custom-readers-and-writers)\n  below\n\n\u003c/div\u003e\n\nIt can convert *to*\n\n\u003cdiv id=\"output-formats\"\u003e\n\n- `ansi` (text with [ANSI escape\n  codes](https://en.wikipedia.org/wiki/ANSI_escape_code), for terminal\n  viewing)\n- `asciidoc` (modern [AsciiDoc](https://asciidoc.org/) as interpreted by\n  [AsciiDoctor](https://asciidoctor.org/))\n- `asciidoc_legacy` ([AsciiDoc](https://asciidoc.org/) as interpreted by\n  [`asciidoc-py`](https://github.com/asciidoc-py/asciidoc-py)).\n- `asciidoctor` (deprecated synonym for `asciidoc`)\n- `beamer` ([LaTeX beamer](https://ctan.org/pkg/beamer) slide show)\n- `bibtex` ([BibTeX](https://ctan.org/pkg/bibtex) bibliography)\n- `biblatex` ([BibLaTeX](https://ctan.org/pkg/biblatex) bibliography)\n- `chunkedhtml` (zip archive of multiple linked HTML files)\n- `commonmark` ([CommonMark](https://commonmark.org) Markdown)\n- `commonmark_x` ([CommonMark](https://commonmark.org) Markdown with\n  extensions)\n- `context` ([ConTeXt](https://www.contextgarden.net/))\n- `csljson` ([CSL\n  JSON](https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html)\n  bibliography)\n- `djot` ([Djot markup](https://djot.net))\n- `docbook` or `docbook4` ([DocBook](https://docbook.org) 4)\n- `docbook5` (DocBook 5)\n- `docx` ([Word docx](https://en.wikipedia.org/wiki/Office_Open_XML))\n- `dokuwiki` ([DokuWiki markup](https://www.dokuwiki.org/dokuwiki))\n- `epub` or `epub3` ([EPUB](http://idpf.org/epub) v3 book)\n- `epub2` (EPUB v2)\n- `fb2`\n  ([FictionBook2](http://www.fictionbook.org/index.php/Eng:XML_Schema_Fictionbook_2.1)\n  e-book)\n- `gfm` ([GitHub-Flavored\n  Markdown](https://help.github.com/articles/github-flavored-markdown/)),\n  or the deprecated and less accurate `markdown_github`; use\n  [`markdown_github`](https://pandoc.org/MANUAL.html#markdown-variants)\n  only if you need extensions not supported in\n  [`gfm`](https://pandoc.org/MANUAL.html#markdown-variants).\n- `haddock` ([Haddock\n  markup](https://www.haskell.org/haddock/doc/html/ch03s08.html))\n- `html` or `html5` ([HTML](https://www.w3.org/html/),\n  i.e. [HTML5](https://html.spec.whatwg.org/)/XHTML [polyglot\n  markup](https://www.w3.org/TR/html-polyglot/))\n- `html4` ([XHTML](https://www.w3.org/TR/xhtml1/) 1.0 Transitional)\n- `icml` ([InDesign\n  ICML](https://manualzz.com/doc/9627253/adobe-indesign-cs6-idml-cookbook))\n- `ipynb` ([Jupyter\n  notebook](https://nbformat.readthedocs.io/en/latest/))\n- `jats_archiving` ([JATS](https://jats.nlm.nih.gov) XML, Archiving and\n  Interchange Tag Set)\n- `jats_articleauthoring` ([JATS](https://jats.nlm.nih.gov) XML, Article\n  Authoring Tag Set)\n- `jats_publishing` ([JATS](https://jats.nlm.nih.gov) XML, Journal\n  Publishing Tag Set)\n- `jats` (alias for `jats_archiving`)\n- `jira`\n  ([Jira](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all)/Confluence\n  wiki markup)\n- `json` (JSON version of native AST)\n- `latex` ([LaTeX](https://www.latex-project.org/))\n- `man` ([roff man](https://man.cx/groff_man(7)))\n- `markdown` ([Pandoc’s\n  Markdown](https://pandoc.org/MANUAL.html#pandocs-markdown))\n- `markdown_mmd`\n  ([MultiMarkdown](https://fletcherpenney.net/multimarkdown/))\n- `markdown_phpextra` ([PHP Markdown\n  Extra](https://michelf.ca/projects/php-markdown/extra/))\n- `markdown_strict` (original unextended\n  [Markdown](https://daringfireball.net/projects/markdown/))\n- `markua` ([Markua](https://leanpub.com/markua/read))\n- `mediawiki` ([MediaWiki\n  markup](https://www.mediawiki.org/wiki/Help:Formatting))\n- `ms` ([roff ms](https://man.cx/groff_ms(7)))\n- `muse` ([Muse](https://amusewiki.org/library/manual))\n- `native` (native Haskell)\n- `odt` ([OpenDocument text\n  document](https://en.wikipedia.org/wiki/OpenDocument))\n- `opml` ([OPML](http://dev.opml.org/spec2.html))\n- `opendocument` ([OpenDocument\n  XML](https://www.oasis-open.org/2021/06/16/opendocument-v1-3-oasis-standard-published/))\n- `org` ([Emacs Org mode](https://orgmode.org))\n- `pdf` ([PDF](https://www.adobe.com/pdf/))\n- `plain` (plain text)\n- `pptx`\n  ([PowerPoint](https://en.wikipedia.org/wiki/Microsoft_PowerPoint)\n  slide show)\n- `rst`\n  ([reStructuredText](https://docutils.sourceforge.io/docs/ref/rst/introduction.html))\n- `rtf` ([Rich Text\n  Format](https://en.wikipedia.org/wiki/Rich_Text_Format))\n- `texinfo` ([GNU Texinfo](https://www.gnu.org/software/texinfo/))\n- `textile` ([Textile](https://textile-lang.com))\n- `slideous` ([Slideous](https://goessner.net/articles/slideous/) HTML\n  and JavaScript slide show)\n- `slidy` ([Slidy](https://www.w3.org/Talks/Tools/Slidy2/) HTML and\n  JavaScript slide show)\n- `dzslides` ([DZSlides](https://paulrouget.com/dzslides/) HTML5 +\n  JavaScript slide show)\n- `revealjs` ([reveal.js](https://revealjs.com/) HTML5 + JavaScript\n  slide show)\n- `s5` ([S5](https://meyerweb.com/eric/tools/s5/) HTML and JavaScript\n  slide show)\n- `tei` ([TEI Simple](https://github.com/TEIC/TEI-Simple))\n- `typst` ([typst](https://typst.app))\n- `xwiki` ([XWiki\n  markup](https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/))\n- `zimwiki` ([ZimWiki\n  markup](https://zim-wiki.org/manual/Help/Wiki_Syntax.html))\n- the path of a custom Lua writer, see [Custom readers and\n  writers](https://pandoc.org/MANUAL.html#custom-readers-and-writers)\n  below\n\n\u003c/div\u003e\n\nPandoc can also produce PDF output via LaTeX, Groff ms, or HTML.\n\nPandoc’s enhanced version of Markdown includes syntax for tables,\ndefinition lists, metadata blocks, footnotes, citations, math, and much\nmore. See the User’s Manual below under [Pandoc’s\nMarkdown](https://pandoc.org/MANUAL.html#pandocs-markdown).\n\nPandoc has a modular design: it consists of a set of readers, which\nparse text in a given format and produce a native representation of the\ndocument (an *abstract syntax tree* or AST), and a set of writers, which\nconvert this native representation into a target format. Thus, adding an\ninput or output format requires only adding a reader or writer. Users\ncan also run custom pandoc filters to modify the intermediate AST (see\nthe documentation for [filters](https://pandoc.org/filters.html) and\n[Lua filters](https://pandoc.org/lua-filters.html)).\n\nBecause pandoc’s intermediate representation of a document is less\nexpressive than many of the formats it converts between, one should not\nexpect perfect conversions between every format and every other. Pandoc\nattempts to preserve the structural elements of a document, but not\nformatting details such as margin size. And some document elements, such\nas complex tables, may not fit into pandoc’s simple document model.\nWhile conversions from pandoc’s Markdown to all formats aspire to be\nperfect, conversions from formats more expressive than pandoc’s Markdown\ncan be expected to be lossy.\n\n## Installing\n\nHere’s [how to install pandoc](INSTALL.md).\n\n## Documentation\n\nPandoc’s website contains a full [User’s\nGuide](https://pandoc.org/MANUAL.html). It is also available\n[here](MANUAL.txt) as pandoc-flavored Markdown. The website also\ncontains some [examples of the use of\npandoc](https://pandoc.org/demos.html) and a limited [online\ndemo](https://pandoc.org/try).\n\n## Contributing\n\nPull requests, bug reports, and feature requests are welcome. Please\nmake sure to read [the contributor guidelines](CONTRIBUTING.md) before\nopening a new issue.\n\n## License\n\n© 2006-2024 John MacFarlane (jgm@berkeley.edu). Released under the\n[GPL](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html \"GNU General Public License\"),\nversion 2 or greater. This software carries no warranty of any kind.\n(See COPYRIGHT for full copyright and warranty notices.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgm%2Fpandoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgm%2Fpandoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgm%2Fpandoc/lists"}