Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm interested in using a variation of Markdown for my work, but my target format is Word files (this is what my clients use, it's non-negotiable). Most implementations of Markdown would leave me with a circuitous route at best to get a Word file.

Perhaps more importantly, I'd want to be able to format things like footnotes/endnotes, which don't have any representation in Markdown or Multimarkdown, as far as I know.

Is there anything like this out there? Basically a flavor of Markdown oriented toward print rather than the screen?

share|improve this question
up vote 9 down vote accepted

You can also use pandoc:

pandoc -f markdown -t docx -o file.docx

One advantage compared to textutil is that the output uses paragraph styles. You can also use styles from an existing file with --reference-docx file.docx.

share|improve this answer

John Gruber, one of the two inventors of Markdown, uses footnotes fairly extensively on Daring Fireball; to see his raw (pre-Markdown) formatting, append .text to one of his urls, like this:

As far as converting Markdown to RTF, textutil is your friend. You can pipe the output of the command to textutil like so:

/usr/local/bin/ | /usr/bin/textutil -stdin -stdout -format html -convert rtf | pbcopy # or whatever else you want to do with it

Instead of piping to pbcopy (which puts the rich text on the clipboard), you could > it to a .rtf file, or whatever else your workflow dictates.

share|improve this answer
textutil is handy! – lhf Jul 20 '12 at 22:36

iA Writer offers formatted Word (.docx) to Markdown import and export:

Word to Markdown Import and Export

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.