I love Markdown, the handy, simple way to format plain text.
I write pretty much everything in Markdown from emails to user research notes to reports, I even wrote my book in Markdown.
While it is a great format the business world is still firmly wedded to Microsoft Word. I’d been searching for a way of converting from Markdown to Word and came across Pandoc.
Pandoc is the “swiss army knife of text conversion” and is a package install that is used through the scary Terminal. Once installed it’s actually pretty straightforward for folk not used to the terminal. It can be used to convert to HTML but many tools like WordPress do this automatically.
- Save your Markdown document as filename.md to the desktop
- Open the Terminal, you can find it in Applications » Utilities
cd Desktopto navigate to the Desktop
lsto list your files
pandoc -o output.docx -f markdown -t docx filename.md
And hey presto you have a formatted word document.
Leave a Reply