Pandoc: your secret best friend in document translation

Pandoc is an universal document converter to convert Markdown, Org-Mode, Html, Word documents from one markup format into another  After using different tools, (including GNU info and SGML). I find out pandoc vert handy.

I got a bunch of org mode files manual. I was used to convert them in html via converter like ox-twbs. With pandoc I was able to convert quite complex guides in word documents (docx) and in markdown version. Also the rST conversion seems rather good.

Usage is very simple because pandoc can guess the input ad output format by the extensions you give to files, so a simple

[code lang=”bash”]
pandoc myfile.md -o myfile.docx
[/code]

is quite all you need to do.

Pandoc is written in Haskell, a strong typed lisp dialect.

 

Leave a Reply