Basic text elements
This topic covers how to structure the page, write procedures, add notices, and link between topics.
If possible, use native Markdown content structures. Use HTML only when the content type requires it (tables with rich cells, sized figures).
For a live preview, start a local server, and check the output in your browser.
Applying the right Markdown structures
If you're new to Markdown, here's a short reference of the most common text structures.
| Reader need | Recommended structure |
|---|---|
| Procedure (ordered steps) | Numbered list (1. 2. 3.) |
| Concept or options | Short paragraphs + bullets |
| Warning / tip / note | :::warning / :::tip / :::note |
| Cross-reference | Docs URL or ./file.mdx link |
For more information on linking, see Linking between topics.
For code, tabs, and tables, see Code and data.
For images and figures, see Graphics.
Adding headings
- Keep one H1.
By default, it should match the topic title from the front matter. - Use H2 (
##) for major sections.
This template’s On this page list shows H2 only. - Use H3 (
###) for sub-steps or subtopics under an H2.
Linking to a heading
By default, the heading becomes the anchor. For example, the link to the Example outline section below is basic-text-elements#example-outline.
If you want a custom anchor, you can define it like this:
## Installing the client {/* #client-installation */}
The resulting link is basic-text-elements#client-installation.
Example outline
# Configuring notifications
## Before you start
## Turning on email alerts
## Choosing a digest schedule
## Troubleshooting missing mail
Creating procedures
Use numbered lists for anything the reader must do in order. Nest sub-steps with indented numbers or bullets.
If possible, use the native Markdown content structures. Use HTML only when the content type requires it (tables with rich cells, sized figures).
Standard procedure
- Open Settings > Notifications.
- Select Email alerts.
Optionally, you can also select SMS alerts. - Select a frequency:
- Immediate for every event
- Daily digest for a summary
- Select Save.
Procedure with a nested tip
Indent the admonition under the step (use a 3-space indent, and optionally, a blank line after the step text):
-
Review the sidebar labels before you publish.
Keep labels shortLong category names wrap awkwardly on smaller screens.
-
Continue with the next checklist item after the notice.
Mixed list
- Open the docs folder.
- Create or edit an
.mdxfile:- Use headings for structure.
- Keep one idea per paragraph.
- Prefer short lists for steps.
- Save and confirm the page updates.
Creating notices
Select the notice type by severity:
| Type | Use case |
|---|---|
:::note | Extra context that is useful but not blocking |
:::tip | A shortcut or best practice |
:::info | Neutral background the reader should know |
:::warning | A mistake that causes pain or rework |
:::danger | Data loss, security, or irreversible action |
You can add a custom title:
Notices accept an optional [title] after the type.
Linking between topics
Prefer docs URL paths so links stay clear in review:
See [Creating topics](/docs/template-description/create-content/creating-topics).
Same-folder relative links also work (include .mdx):
See [Creating topics](./creating-topics.mdx).
Result: See Creating topics.
Do not use bare paths like /creating-topics — they are not doc routes on this site.