DEV Community

Faisal
Faisal

Posted on • Originally published at faisal.software

Exporting Google docs to Markdown and HTML

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=markdown
Enter fullscreen mode Exit fullscreen mode

You can export to html by making a GET request to:

GET https://docs.google.com/document/d/${docId}/export?format=html
Enter fullscreen mode Exit fullscreen mode

Top comments (0)