# Pages (documentation)

> Write documentation in Arc-Tech with Markdown, Mermaid diagrams, HTML pages, mentions of components and links to designs.

Source: https://arc-tech.dev/docs/pages

Pages live in a project, beside its designs. They nest under each other as a tree.

## Markdown

Pages use GitHub-flavoured Markdown: headings, lists, tables, code and links. A code block marked `mermaid` is drawn as a diagram:

````markdown
```mermaid
flowchart LR
  Web --> API --> Database
```
````

## Mentions

Type `@` to mention a component or a person. Mentions are stored as ordinary Markdown links, so they survive renames:

```markdown
Promote the replica, then point [@API Gateway](node:<component id>) at it.
Ask [@Jane Smith](user:<user id>) before a failover.
```

Clicking a component's mention takes you to it on the canvas.

## HTML pages

A page can be HTML instead, for layouts Markdown can't do. Its scripts run in a sandbox.

## Linking pages to designs

Link a page to a design and it appears among that design's pages. One page can belong to several designs.
