Skip to content

Instantly share code, notes, and snippets.

@JockDaRock
JockDaRock / docx2md.md
Last active September 12, 2024 12:11 — forked from geekbleek/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

Keybase proof

I hereby claim:

  • I am jockdarock on github.
  • I am jockdarock (https://keybase.io/jockdarock) on keybase.
  • I have a public key ASDAGC6pp_a_d2Utm91Srq77aUmx6Vj9SzSkmEhi-KWuFgo

To claim this, I am signing this object:

print("Hello JERK FACE!!!")