Programmatically Exporting Google docs to Markdown and HTML
/ 1 min read
You can export public google docs using their docId to markdown by making a GET request to:
GET https://docs.google.com/document/d/${docId}/export?format=markdownYou can export to html by making a GET request to:
GET https://docs.google.com/document/d/${docId}/export?format=html