Pandoc
Pandoc is a free-software document converter, widely used as a writing tool and as a basis for publishing workflows. It was created by John MacFarlane, a philosophy professor at the University of California, Berkeley.
Functionality
Pandoc dubs itself a "markup format" converter. It can take a document in one of the supported formats and convert only its markup to another format. Maintaining the look and feel of the document is not a priority.Plug-ins for custom formats can also be written in Lua, which has been used to create an exporting tool for the Journal Article Tag Suite, for example.
CiteProc
An included CiteProc option allows pandoc to use bibliographic data from reference management software in any of five formats: BibTeX, BibLaTeX, CSL JSON or CSL YAML, or RIS. The information is automatically transformed into a citation in various styles using an implementation of the Citation Style Language. This allows the program to serve as a simpler alternative to LaTeX for producing academic writing in Markdown with inline citation keys. Or the program can be used to convert any bibliographic data stream in the accepted formats into a list of citations in a chosen style.Supported file formats
Input formats
The input format with the most support is Pandoc's extended version of Markdown. Notwithstanding, pandoc can also read in the following formats:- Bibliography data formats: BibTeX, BibLaTeX, CSL JSON or CSL YAML, RIS, or EndNote XML
- Creole
- CSV and TSV tables
- DocBook
- EPUB
- FictionBook
- Haddock
- HTML
- Jira wiki markup
- Journal Article Tag Suite and Book Interchange Tag Set
- JSON
- Jupyter Notebook
- LaTeX
- man and mdoc
- Markdown: Strict, CommonMark, Djot, GitHub Flavored Markdown, MultiMarkdown and Markdown Extra variants
- OpenDocument
- OPML
- Office Open XML: Microsoft Word variant
- Org-mode
- pod
- reStructuredText
- Rich Text Format
- Textile
- txt2tags
- Typst
- Wiki markup: MediaWiki, Muse, TikiWiki, TWiki and Vimwiki variants
Output formats
Pandoc can create files in the following output formats, the set of which is not the same as the set of input formats:- AsciiDoc
- Bibliography data formats: BibTeX, BibLaTeX, CSL JSON or CSL YAML
- ConTeXt
- DocBook: Versions 4 and 5
- EPUB: Versions 2 and 3
- FictionBook
- Haddock
- HTML: HTML4 and HTML5 variants, respectively compliant with XHTML 1.0 Transitional and XHTML Strict
- InDesign ICML
- Jira wiki markup
- Journal Article Tag Suite
- JSON
- Jupyter Notebook
- LaTeX
- man
- Markdown: Strict, CommonMark, Djot, GitHub Flavored Markdown, MultiMarkdown and Markdown Extra variants
- OpenDocument and OpenDocument XML
- OPML
- Office Open XML: Microsoft Word and Microsoft PowerPoint variants
- Org-mode
- Plain text
- reStructuredText
- Rich Text Format
- TEI
- Texinfo
- Textile
- Typst
- Web-based slideshows: LaTeX Beamer, Slideous, Slidy, DZSlides, reveal.js and S5 variants
- Wiki markup: DokuWiki, MediaWiki, Muse, TikiWiki, TWiki and Vimwiki variants