Share
Explore

icon picker
Export to Google Docs Pack User Guide

Learn how to use install and use the Pack.

Install the Pack

To install the Pack, type /Export to Google Docs in any doc, or click the Install button below and then click the Add to Doc button.

What’s included

The Pack includes actions, which you can use in buttons and automations, to export Coda pages and canvas content to Google Docs.
blockly-blue

Building Blocks

ExportToDoc(name, content) - Creates a new Google Doc using the content from a Coda page or canvas.
name - The name of the resulting Google Doc file.
content - The page or canvas content to export. Open the formula editor with the equals key to select the page or canvas.
ReplaceContent(doc, content) - Replaces the content of a Google Doc that was previously created by this Pack.
doc - The URL or ID of a Google Doc created by this Pack.
content - The page or canvas content to export. Open the formula editor with the equals key to select the page or canvas.
AppendText(doc, text) - Appends plain text to a Google Doc that was previously created by this Pack.
doc - The URL or ID of a Google Doc created by this Pack.
text - The text to append. Only plain text is supported, any styling will be lost.
AppendImage(doc, image, width?, height?) - Appends an image to a Google Doc that was previously created by this Pack.
doc - The URL or ID of a Google Doc created by this Pack.
image - The URL of the image. It must be publicly accessible.
width - The max width of the inserted image, in points (1/72 of an inch).
height - The max height of the inserted image, in points (1/72 of an inch).
Some notable caveats:
You can’t export an entire doc to Google Docs, only individual pages.
You can’t directly export to Google Docs, you need to create a button (or automation) to do the export.
The export doesn’t have perfect fidelity, and you should check the exported doc to make sure that content wasn’t lost.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.