convert markdown to word
this is super easy with pandoc. The conversion back leaves the Markdown in pandoc’s format (not necessarily the formatting you used to write it in the first place) so this isn’t perfect for merging in changes from lay-users who cannot write in markdown. Human merging is required, however it does make it much easier to get all of the grammar checking one has become accustom to in word processors!
* cool aside, pandoc is written in
For mac users, you better be using homebrew!
brew install pandoc
let’s say we have a file
README.md that we want to share in Microsoft Word
pandoc -f markdown -t docx README.md -o README.docx
Read the above command as;
pandoc from (
-f) markdown to (
-t) docx, output (
you can also do the reverse and convert word to markdown with
pandoc -f docx -t markdown README.docx -o README.md
but be careful not to overwrite your original file!!!
I’ve written some scripts that do the same thing - convert markdown files to docx.
Uh oh, it looks like your embed code is broken.