Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
If you have a DOCX with images and would like to convert it to MD to publish somewhere run this command in the folder with your document. This will mount the folder into docker container, convert document and extract all images into subfolder.
docker run -v ${pwd}:/data pandoc/core -o test2.md --extract-media=./test2/ test2.docx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment