pub async fn fetch_google_doc_as_markdown(
url: &str,
api_token: Option<&str>,
) -> Result<GDocsResult>Expand description
Fetch a Google Docs document and convert to Markdown.
Fetches the document as HTML, then converts to Markdown using the existing HTML-to-Markdown pipeline.
§Arguments
url- Google Docs URLapi_token- Optional API token for private documents
§Errors
Returns an error if the fetch or conversion fails.