Convert Google Docs to Markdown


Download your Google Doc as an Open Document Format file:

File → Download as → Open Document Format (odt)

Then use pandoc to convert it to Markdown:

$ pandoc google-doc.odt -o google-doc.md

That's it. Currently, pandoc doesn't do tables well, but a part from that the conversion was surprisingly good.


Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐦 @torsteinkrause ~