I'm writing a Python application that needs to fetch a Google document from Google Drive as markdown.
I'm looking for ideas for the design and existing open-source code.
As far as I know, Google doesn't provide export as markdown. I suppose this means I would have to figure out, which of the available download/export formats is the best for converting to markdown.
The contents of the document is ensured to not contain anything that markdown doesn't support.
EDIT: I would like to avoid non python software to keep the setup as simple as possible.