Inside this article

The Image formula
The Embed Formula
The GoogleDirections and GoogleMap formulas

The Image formula

The Image formula allows you to bring images from the web into your doc. You'll start by typing "=". Then select the Image formula, and insert the URL and optional dimensions. 

The Embed Formula

With Coda, you can easily embed all kinds of content—such as a YouTube video, a tweet, an external dashboard, or even another Coda doc—by using the Embed() formula.

The Embed formula has three parts:

  • The URL - make sure to put it in quotation marks!
  • The Width
  • The Height

If you plan to embed a file from your Google Drive, make sure that the URL's sharing settings are set to Anyone with the link can view.

Resizing Embeds

The easiest way to resize embeds in the canvas is to hit the edit button and drag the handles as you see fit.

In tables, embeds will auto-fit the width of the column. If you want to set an explicit height or width, you can also use the height and width parameters in the Embed( ) formula — set them to 0 to use the default.

Using the force parameter

Many URLs will work out-of-the-box with the Embed formula, but some may not display as desired by default. For instance, content that needs you to log into an account to view or that does not support the oEmbed format (such as a private dashboard) may result in an error or show only basic information.

You can try a different way of embedding by using the force parameter in the formula. With this parameter enabled, the content will be embedded directly in an iframe in your browser:

For security reasons, users will be prompted to trust the embedded site. Note that some sites may have security settings that prevent them from loading in this mode, in which case you will see a blank white screen.

The GoogleDirections and GoogleMap formulas

These two formulas bring the power of GoogleMaps into your doc. If you have a location or set of directions you want to include, type "=GoogleMap" or "=GoogleDirections" into your doc. You can then add the details of your location using location names or GPS latitude and longitude. 

If you need a full overview of Coda's formula language, head here. Or, if you prefer a formula list to peruse, check out this article here.

Did this answer your question?