Convert Markdown ----------------- `pandoc` can be used to convert a markdown file to a lot of format. It is smart enough to detect the format based on the file extension. Simply run that sample command to convert to Word: :: pandoc -s -o doc.docx doc.md It can also merge multiple markdown files into a single document, for instance PDF: :: pandoc -s -o doc.pdf part01.md part02.md For PDF, we can twick the formating to reduce the normally big margins: :: pandoc -s -V geometry:margin=1in -o doc.pdf part01.md part02.md