Pandoc

Pandoc is an open source, universal document converter that can transform files from one markup style to another. Developed by John MacFarlane, a philosophy professor at the University of California, Berkley, Pandoc is a widely used writing tool for scholars and a popular platform for publishing workflows. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, OPML, Emacs Org-Mode, Txt2Tags, Microsoft Word docx, EPUB, or Haddock markup to HTML, Word processor formats, Ebooks, Documentation formats, Page layout formats, Outline formats, TeX, PDF via LaTeX, Lightweight markup formats, and Custom formats written in Lua. By understanding a robust vocabulary of markdown syntax extensions, Pandoc can transform one system's content into coherence with another's.