Docs

Formatting and blocks

Bold and italics, colors, mentions, headings, lists, tables, columns and link cards.

A message in Comon is a document: plain text, or headings, lists, tables and columns. "Hi" is a document with one paragraph.

Two input modes

  • The input line at the bottom of the chat is for everyday conversation. It supports text formatting, mentions, attachments, the reply and quotes, and link cards.
  • The full editor opens with the "+" button and takes the whole chat. It offers every block: headings, lists, quotes, code, tables, columns and photo captions.

Both modes work on the same draft: switching keeps the text, the cursor and the undo history.

Text formatting

Select text and a toolbar appears above it: block type, bold, italic, underline, strikethrough, monospace, spoiler, link, text and background color, and clear formatting. On a phone the toolbar opens through "Format" in the selection menu.

Markdown is applied as you type:

TypeResult
**text**bold
*text*italic
~~text~~strikethrough
`text`monospace
||text||spoiler

In the full editor, also at the start of a line:

TypeResult
# , ## , ### heading of three levels
- bulleted list
1. numbered list
[] checklist
> quote
```code block
---divider

Undo (Ctrl/Cmd+Z) brings back the typed characters if you did not want the conversion.

Colors. Text and background can take one of nine colors: gray, brown, orange, yellow, green, blue, purple, pink and red.

A spoiler hides words under a cloud of dots. Tapping the dots reveals the spoilers of that paragraph. The chat list and notifications show dots instead of the hidden text; the words never get there.

Blocks

In the full editor on a computer, "/" at the start of an empty line opens the block menu, and "/turn" turns the current block into another. Every block has a "+" and a drag handle on its left; clicking the handle opens the block menu: turn into, duplicate (Ctrl/Cmd+D), move, delete and the block's own settings. On a phone, blocks are added with the "+" button on the bar above the keyboard.

BlockWhat it is
HeadingThree levels.
ListBulleted, numbered or checklist. Up to four levels of nesting; Tab and Shift+Tab change the level.
ChecklistOnly the author ticks items, by editing the message. Readers see the ticks but cannot change them.
QuoteYour own text with an optional author line at the bottom. It is a plain block, not a link to a message.
CodeMonospace text highlighted for the chosen language.
DividerA horizontal line.
ToggleThe first line is always visible; the rest opens with an arrow. Each reader opens it for themselves; it starts collapsed.
CalloutA tinted box with an emoji and a color.
TableUp to 50 rows and 10 columns, a header row and column, cell colors. Tab moves between cells; Tab in the last cell adds a row.
ColumnsTwo to four columns side by side. On a narrow screen they stack.
MediaA photo, video or file, with or without a caption.

Enter on an empty line leaves the block: a list, quote, callout or table. So you can always go on with plain text after any block.

Mentions

Type @ at the start of a word and a list of chat members appears, recent writers first. The mentioned person is notified even if the chat is muted for them.

  • @all notifies every member. It is available to the group owner, the channel owner and publishers, and community roles with the right to mention everyone.
  • In a community room, # at the start of a word inserts a link to another room. Such a link notifies nobody.
  • Mentions inside quotes, code, captions and forwarded messages do not notify.
  • If someone in a group or room mentioned you or replied to you and you have not read it yet, an "@" appears above the scroll-down button. Tapping it takes you to the earliest such message.

Links in text are recognized automatically. An explicit link under a word is set from the formatting toolbar. If the link text differs from the address, or the address is not a web address, the app first asks "Open this link?" and shows the full address. Links to Comon chats and calls open right in the app.

For the first link in the text the input line shows a card: site, title, description and image. You can remove the card, put it above or below the text, choose a small or large image and the link it is shown for. The federation server builds the card when you send, not the reader's device, so readers never contact the third-party site.

WhatHow much
Cards in one message5
Card imageJPEG up to 64 KB, up to 320 pixels on the long side
New card requests20 at once, then 1 every 2 seconds

The server fetches only public http and https addresses and keeps a finished card for an hour.

What's missing

Formulas, polls, GIFs and stickers inside a document are not there yet. Stickers, voice messages and round videos are sent as separate messages.

On this page