Format conversions using Pandoc

Convert Microsoft Word (docx) to Markdown (md)

pandoc -s file.docx –wrap=none –reference-links -t markdown -o file.md

Convert Markdown (md) to epub

pandoc mybook.md -o mybook.epub