Writing formatted text

Answers, articles, store descriptions and glossary explanations are written as they'll look, with a toolbar, a slash menu and Markdown shortcuts, links from a search of your site and images from the media library, and kept as Markdown underneath.

Updated · 4 min read

The long text fields in Admin show your writing as it will look on the site: an answer's full answer and its translations, an Article block's body, a product's or category's description, and a glossary term's explanation. Headings, lists, links, tables and images appear formatted as you type, in your site's own type. Underneath, each field is still Markdown, so agents, translations, site search and your llms.txt read it exactly as before.

Opening a field changes nothing. Until you type, nothing is saved and the page shows no unpublished changes.

Formatted text

Format as you type

Select some text for a small toolbar with bold, italic, strikethrough, code and link. The bar above the field has the text style (Paragraph, Heading, Subheading, Quote or Code block), bold, italic, link, the three kinds of list, a table and an image. Each button's tooltip shows its shortcut.

Or type the Markdown, and it formats as you go:

TypeTo get
## and a spacea heading, listed under "On this page"
### and a spacea subheading
- or 1. and a spacea bulleted or numbered list
[ ] and a spacea task list
> and a spacea quote
three backticksa code block
**bold**, *italic* or ~~struck~~the formatting, as you close it
---a divider

Type / on an empty line for everything you can add: a heading, a list, a quote, code, a table, an image or a divider. Keep typing to narrow the list, and press Enter to add one.

An Article also has a minor heading (####). In the other fields, headings go two levels deep.

Keyboard shortcuts

PressTo
⌘B or ⌘Imake text bold or italic
⇧⌘Xstrike it through
⌘Emark it as code
⌘Kadd or edit a link
⌥⌘2 or ⌥⌘3make a heading or a subheading
⌥⌘0go back to a paragraph
⇧⌘8, ⇧⌘7 or ⇧⌘9start a bulleted, numbered or task list
Tab or ⇧Tabindent or outdent a list item, or move between table cells
⌘Z or ⇧⌘Zundo or redo

On Windows and Linux, use Ctrl for ⌘ and Alt for ⌥. In the page editor, these keys act on the text while you're typing in it, and the editor's own shortcuts wait until you leave the field.

Paste from Google Docs, Word or Notion

Paste from Google Docs, Notion, Word, Pages or a web page, and the headings, bold and italic text, links, lists, quotes, tables and images come with it. Fonts, colours, sizes and styling don't. A page title becomes a heading, and headings deeper than the field takes become its smallest.

  • Paste Markdown and it's formatted.
  • Paste a web address over selected text to link it.
  • Paste with ⇧⌘V for plain text.
  • If what you paste would take the field over its limit, nothing goes in, and the field says by how much.

Press ⌘K, or choose Link, and start typing. The box searches your site's pages, glossary terms (by name or alias), answers, topics, guides, tools, products and categories, and the headings in the text you're writing, and lists the best match first. It never offers the page, answer or term you're editing. Choose one to link to it, or type an address: a page like /pricing, a web address, an email address or a phone number.

Links can go to a page on your site, a heading on the same page (#pricing), an https:// address, an email (mailto:) or a phone number (tel:). Anything else, such as a javascript: link, is refused with a message saying why.

Click a link to see where it goes, with Edit, Open and Remove. A link to a page that isn't published yet, or to an address with no page, is marked, so you can fix it before visitors find a missing page.

Images

Choose Image in the toolbar or the / menu to pick one from the media library. Its alt text comes with it. You can also paste or drop an image file into the text: it uploads to the library in place, with its progress, then asks for alt text.

Click an image to change its alt text, replace it or remove it. An image without alt text is marked "No alt text". Markdown has no image sizes, so each image shows at its own size, never wider than the text.

Switch to Markdown

Choose Markdown at the right of the toolbar to see and edit the Markdown itself, and again to go back. Your choice is remembered for that kind of field in this browser.

A few things in Markdown can't be shown formatted: raw HTML, footnotes, reference-style links ([text][1]) and headings the field doesn't take. A field that has one opens as Markdown, with a line saying what it found, and saving it leaves the rest of the text exactly as it was. Going back to formatted text is refused, with the reason, while the Markdown has one.

Limits and phones

Each field has a limit, counted on the Markdown the way the server counts it. A count appears when you're near it, and at the limit typing stops and the field says why. An Article holds up to 60,000 characters.

In a narrow field, like the Style panel or a phone, the less-used tools (lists, table and image) move into the More menu (⋯) at the end of the toolbar, and headings shrink to fit the field. On a phone every button is big enough to tap. The text editor loads only in Admin, so it never slows your public pages.

Something unclear or missing? Ask us and we'll answer, then fix the page.

Was this page helpful?

Built with Overlays