Skip to content

Instantly share code, notes, and snippets.

View erisanh's full-sized avatar
🎮

nguyenanh erisanh

🎮
View GitHub Profile
@erisanh
erisanh / pandocdocx2md.md
Created September 4, 2025 13:09 — forked from plembo/pandocdocx2md.md
Convert docx to markdown with pandoc

Convert Word documents to markdown with pandoc

I use pandoc to convert masses of Word documents to markdown. Still working on a generic script, but for now here's the "gist" of what I type into the terminal:

$ myfilename="example"
$ pandoc \
-t markdown_strict \
--extract-media='./attachments/$myfilename' \
$myfilename.docx \