介紹一款文檔神器:pandoc

http://pandoc.org/php


由於工做須要,將一批markdown的文檔轉換成word文檔,找來找去,這個pandoc真是神器 啊,推薦給你們html


If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert documents in (several dialects of) Markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki markup, TikiWiki markup, Creole 1.0, Vimwiki markup, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Microsoft Word docx, LibreOffice ODT, EPUB, or Haddock markup togit

HTML formats

XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlidesgithub

Word processor formats

Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML, Microsoft PowerPoint.web

Ebooks

EPUB version 2 or 3, FictionBook2vim

Documentation formats

DocBook version 4 or 5, TEI Simple, GNU TexInfo, Groff man, Groff ms, Haddock markupmarkdown

Archival formats

JATSide

Page layout formats

InDesign ICMLlua

Outline formats

OPML.net

TeX formats

LaTeX, ConTeXt, LaTeX Beamer slides

PDF

via pdflatex, xelatex, lualatex, pdfroff, wkhtml2pdf, prince, or weasyprint.

Lightweight markup formats

Markdown (including CommonMark and GitHub-flavored Markdown), reStructuredText, AsciiDoc, Emacs Org-Mode, Emacs Muse, Textile, txt2tags, MediaWiki markup, DokuWiki markup, TikiWiki markup, TWiki markup, Vimwiki markup, and ZimWiki markup.

Custom formats

custom writers can be written in lua.

相關文章
相關標籤/搜索