Writing Content

Components

Callouts, accordions, captioned images, code blocks and more, written as plain text in your Google Doc.

A component is a building block that a plain document can't draw: a warning box, a collapsible answer, a code block with syntax highlighting.

You write its name in parentheses, and Contito draws it on the site.

How each component looks is set once for the whole site, in Website > Design, as shown at the end of this article.

The components

ComponentWhat it drawsSettings
CalloutA highlighted box for a note, tip, warning or errortype: info (default), warning, error or success
AccordionA collapsible section: the heading always shows, the rest opens on click. Several in a row read as an FAQheading: the line that always shows. open: true starts it expanded
ImageAn image with a caption or a framesrc, caption, alt (a description for screen readers), frame, zoom (on by default)
Code BlockCode with syntax highlighting and a copy buttonlanguage, such as python, js or bash
BlockquoteA quotation, set apart from the textnone
DividerA horizontal line between sectionsnone

Four more components draw nothing. They set the article's details instead:

ComponentSets
DescriptionThe short summary shown under the title and in search results
Cover ImageThe image shown in listings and link previews
TagsThe article's tags, separated by commas
AuthorsThe article's authors, one per line: Ada Lovelace <ada@example.com>

See Article Details for what each detail does on the site.

Two ways to write one

The short form, a single paragraph starting with the name and settings in parentheses, next to the table form, a table whose first cell holds the name and settings

Short form, for one paragraph

Start a normal paragraph with the name in parentheses, then each setting after a |, then the text:

text
(Callout | type: warning) Back up your data before upgrading.
(Accordion | heading: Can I use my own domain?) Yes, on the Pro and Ultimate plans.
  • The part in parentheses has to be at the very start of the paragraph.
  • A bulleted or numbered item can't be a component.
  • Keep the part in parentheses in one style. Bold, a link or a different font across it turns it back into ordinary text.
  • The text after it can be formatted as usual.

Table form, for anything longer

  1. Insert a table with one cell in its first row.
  2. In that cell, write the name in parentheses on the first line, then each setting on a line of its own.
  3. Put the content in the rows below: paragraphs, lists, headings and images all work.
text
┌──────────────────────────────┐
│ (Callout)                    │
│ type: success                │
├──────────────────────────────┤
│ You're all set.              │
│ • Your site is live          │
│ • Your domain is connected   │
└──────────────────────────────┘

Spelling

text
(Callout)       works
(callout)       works: a lowercase first letter is fine
(Code Block)    works: a space between the words is fine
(CodeBlock)     works
(Call Out)      stays text: the words are split differently
open: true      switches a setting on; open: false switches it off

Ordinary text in parentheses is left alone: a paragraph starting with "(Optional)" stays a sentence, because Optional isn't a component.

A mistake never stops a sync. A component Contito doesn't recognize stays text or is skipped, and the rest of the article publishes. If something is missing on the page, check its spelling against the examples above.

Callout

text
(Callout | type: warning) Back up your data before upgrading.

Leave out type for an info callout.

The four types, as the site draws them:

Info, warning, success and error callouts as a Contito site shows them

Accordion

text
(Accordion | heading: Can I use my own domain?) Yes, on the Pro and Ultimate plans.

To start one open, or to give it more than one paragraph, use the table form:

text
┌────────────────────────────────────┐
│ (Accordion)                        │
│ heading: Can I use my own domain?  │
│ open: true                         │
├────────────────────────────────────┤
│ Yes, on the Pro and Ultimate       │
│ plans. Connect it under Settings.  │
└────────────────────────────────────┘

An open accordion above a closed one, as a Contito site shows them

Image

For a plain image, insert it in Google Docs with Insert > Image. Nothing else is needed.

For a caption or a frame, use the Image component with the image's web address:

text
(Image | src: https://example.com/team.png | alt: Our team at the 2026 offsite | caption: The whole team, March 2026)
SettingWhat it does
srcThe image's address. It has to start with https://
altA description for screen readers and search engines
captionA line shown under the image
frame: trueDraws the image on a bordered surface
zoom: falseTurns off click-to-zoom

An image named by its address stays at that address and is not copied to your site. If the other site removes it, it disappears from yours too. Images inserted in the doc are copied.

An image as a Contito site shows it

Code Block

Put the code in the row below, exactly as it should appear:

text
┌──────────────────────────────┐
│ (Code Block)                 │
│ language: python             │
├──────────────────────────────┤
│ print("Hello")               │
└──────────────────────────────┘

A JavaScript code block with its language label and Copy button, as a Contito site shows it

Without the component, a paragraph in a code font also becomes a code block, without highlighting. See Formatting in Google Docs .

Blockquote

text
(Blockquote) The best page for a search is the one that ends the search.

A blockquote as a Contito site shows it

Divider

text
(Divider)

Write it on a line of its own. Insert > Horizontal line in Google Docs does the same.

Here is one:


Components for article details

These set the article's details and draw nothing.

text
(Description) Set up your first site in five minutes.
(Tags) guide, setup

Cover Image and Authors take the table form:

text
┌────────────────────────────────┐
│ (Cover Image)                  │
├────────────────────────────────┤
│ [the image, inserted here]     │
└────────────────────────────────┘

┌────────────────────────────────┐
│ (Authors)                      │
├────────────────────────────────┤
│ Ada Lovelace <ada@example.com> │
│ Grace Hopper                   │
└────────────────────────────────┘

The email after a name is optional.

The Subtitle style also sets the description. See Formatting in Google Docs .

Where the look is set

Colors, icons, labels and borders of components are set for the whole site under Website > Design > Options.

The Options tab of the Design panel, with the Callouts, Blockquotes, Code, Tables and Accordions groups marked

Open a group to change it. The Callouts group:

The Callouts group open, with Edit in Kitchen Sink, Style and Show Labels marked

#What it does
1Edit in Kitchen Sink: shows when the page in the preview has no callouts. Switches the preview to a sample page that uses every component, so you see your changes.
2Style: Accent bar, Outlined, Filled or Ghost.
3Show Labels: adds a label such as "Warning" at the top of each callout. Below it, change each type's icon and label.

Click Save to keep your changes, or Cancel to drop them. See Page Options .