pandoc支持多種文檔格式的轉換
支持如下格式的轉換:
If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert between the following formats:
(← = conversion from; → = conversion to; ↔︎ = conversion from and to)
Lightweight markup formats
↔︎ Markdown (including CommonMark and GitHub-flavored Markdown)
↔︎ reStructuredText
→ AsciiDoc
↔︎ Emacs Org-Mode
↔︎ Emacs Muse
↔︎ Textile
← txt2tags
HTML formats
↔︎ (X)HTML 4
↔︎ HTML5
Ebooks
↔︎ EPUB version 2 or 3
↔︎ FictionBook2
Documentation formats
→ GNU TexInfo
↔︎ Haddock markup
Roff formats
TeX formats
XML formats
↔︎ DocBook version 4 or 5
↔︎ JATS
→ TEI Simple
Outline formats
↔︎ OPML
Data formats
← CSV tables
Word processor formats
↔︎ Microsoft Word docx
↔︎ OpenOffice/LibreOffice ODT
→ OpenDocument XML
→ Microsoft PowerPoint
Interactive notebook formats
↔︎ Jupyter notebook (ipynb)
Page layout formats
Wiki markup formats
↔︎ MediaWiki markup
↔︎ DokuWiki markup
← TikiWiki markup
← TWiki markup
→ Vimwiki markup
→ XWiki markup
→ ZimWiki markup
↔︎ Jira wiki markup
Slide show formats
→ LaTeX Beamer
→ Slidy
→ reveal.js
→ Slideous
→ S5
→ DZSlides
Custom formats
→ custom writers can be written in lua.
→ via pdflatex
, xelatex
, lualatex
, pdfroff
, wkhtml2pdf
, prince
, or weasyprint
.
具體可以查看官網:https://www.pandoc.org/