---
title: Send and format messages
description: Write in the message box, start a new line, format text, and write code blocks.
---

The message box is at the bottom of every conversation and thread. It shows what your text will look like: bold is bold, a list is a list.

## Send a message

**Computer**

Type your message and press <kbd>Enter</kbd>, or click **Send** (the arrow, which lights up in your theme's color when there is something to send).

To start a new line instead, press <kbd>Shift+Enter</kbd>.

You can turn this around in **Preferences → Accessibility → Keyboard**: choose **Start a new line**, and <kbd>Enter</kbd> makes a new line while <kbd>Ctrl+Enter</kbd> (<kbd>⌘+Return</kbd> on a Mac) sends. See [Preferences](/chat/profile-and-preferences/preferences).

**Phone**

While it is empty, the message box is one line, with **Attach files** (**+**) beside it. Tap it to start writing: it opens with the row of buttons under the text. Type your message and tap **Send**. Return on the keyboard always starts a new line.

You don't have to click the box first on a computer: start typing or paste anywhere outside a field, and it goes into the message box.

If a message can't be sent, for example when you are offline, it shows **Not sent.** with **Try again** and **Delete**. Don't close or reload the page while a message is still unsent: it would be lost, and the app warns you first.

## Schedule a message

To have a message sent later, click or tap the arrow beside **Send** and pick a time. See [Schedule a message](/chat/messages/schedule-a-message).

## Format text

<Clip
  name="format-a-message"
  alt="Typing in the message box: *Logo B* turns bold as it is typed, a line starting with a dash becomes a bulleted list, and `favicon` becomes code"
  phoneAlt="The same on a phone: *Logo B* turns bold, a dash starts a bulleted list, and `favicon` becomes code"
/>

Click **Show formatting** (**Aa**) to show or hide the formatting toolbar above the box. On a phone, the toolbar stays hidden until you tap **Aa**. Select text and click a button, or use a shortcut:

| Format | Shortcut | Or type |
| --- | --- | --- |
| **Bold** | <kbd>Ctrl+B</kbd> | `*bold*` |
| **Italic** | <kbd>Ctrl+I</kbd> | `_italic_` |
| **Underline** | toolbar only | |
| **Strikethrough** | <kbd>Ctrl+Shift+X</kbd> | `~strike~` |
| **Link** | <kbd>Ctrl+Shift+U</kbd> | |
| **Numbered list** | <kbd>Ctrl+Shift+7</kbd> | `1. ` at the start of a line |
| **Bulleted list** | <kbd>Ctrl+Shift+8</kbd> | `- ` or `* ` at the start of a line |
| **Blockquote** | <kbd>Ctrl+Shift+9</kbd> | `> ` at the start of a line |
| **Code** | <kbd>Ctrl+Shift+C</kbd> | `` `code` `` |
| **Code block** | <kbd>Ctrl+Alt+Shift+C</kbd> | ```` ``` ```` |

On a Mac, use <kbd>⌘</kbd> for <kbd>Ctrl</kbd> and <kbd>⌥</kbd> for <kbd>Alt</kbd>.

<Shot
  name="composer-formatting"
  alt="The message box with the formatting toolbar above the text: &quot;Launch checklist for Logo B&quot;, Logo B in bold, and a bulleted list with favicon as code"
  phoneAlt="On a phone, the message box with the formatting toolbar: a bold word, a bulleted list and inline code"
/>

What you type formats as you type it. Press <kbd>Backspace</kbd> straight after, and the format goes while the characters you typed stay. Text you paste stays as written, so `2 * 3 * 4` stays as it is.

In a list, <kbd>Shift+Enter</kbd> starts the next item; on an empty item it ends the list. In a quote, <kbd>Shift+Enter</kbd> starts another quoted line, and <kbd>Backspace</kbd> at the start of a quoted line takes that line out of the quote.

## Write a code block

A code block keeps lines of code as written, and highlights them for their language.

1. Type ```` ``` ```` to start a code block.
2. To pick the language, type its name on the first line (for example `ts` or `python`) and press <kbd>Enter</kbd>, or choose it from the list on the left of the block's header.
3. Inside a code block, <kbd>Enter</kbd> makes a new line instead of sending.

Paste code fenced with ```` ``` ```` and a language name, and it becomes a code block in that language. A code block's header has **Wrap lines** and **Copy code** on the right, in the box and in the sent message.

## Related

- [Mention people, add emoji and links](/chat/messages/mentions-emoji-and-links)
- [Send files and images](/chat/messages/files-and-images)
- [Edit or delete a message](/chat/messages/edit-and-delete)
