---
title: Writing pages
project: Documents
version: v1
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/documents/1/guides/writing-pages/
updated: 2026-11-19T05:59:09.540Z
---

# Writing pages

> The page editor: Markdown, preview, images, draft or published, order and the change note.

Open a project in the panel and press **New page**, or **+ Page** in a section, or click a page to edit it. Each page of the list also has quick buttons to publish or unpublish it, duplicate it as a draft, or remove it.

## Title, slug and summary

The slug is filled from the title while the page is new; you can change it. The **summary** is one or two sentences: it appears under the title, in search results, in `llms.txt` and for agents. Write it for someone who only reads that line.

## Markdown

The text is Markdown: `##` and `###` headings (they build the table of contents), **bold**, `code`, lists, tables, links and code blocks with a language: three backticks and the name of the language on the first line, three backticks on the last one. A `js` block:

```js
var client = new Client();
```

Press **Preview** to see the page as readers will see it.

## Images

Press **Upload image**: the image is stored in the app and a Markdown link is added to the text. Images up to 5 MB: jpg, png, gif or webp. SVG is not accepted, because an SVG can run scripts.

Every uploaded file is in **Files**: where it was uploaded, which pages use it now, and whether it is **unused** (for example after you replaced it with another image). Copy its address or its Markdown to use it in another page, and remove the files that nothing uses.

## Draft or published

A **draft** is only visible in the panel. Set the status to **Published** to put it online.

## Order and parent page

Pages of a section are sorted by **order**, from low to high: drag them in the list of the project to change it. A page with a **parent page** appears under it in the sidebar.

## Change note

The change note is optional and is stored in the history together with your name. Every save leaves a revision, so you can always go back. See [History and restore](/documents/1/guides/history/).
