Skip to content
ReferenceUnreviewed

Formatting and notation

Consistent page layout and technical notation make documentation predictable for human readers and reliable for coding agents parsing generated Markdown.

Page layout and disclosure

Keep the primary answer, core steps, and contracts in normal body flow. Use <Tabs> and <Details> for secondary variants or optional context, never as the only place an essential answer lives. Structure overview pages by scope as defined in Information architecture and content types.

Do not place Markdown footnotes ([^1]) inside <Tabs> blocks, because they generate duplicate ## Footnotes headings per tab panel and corrupt generated Markdown.

Lists and bold lead-ins

Write list items and paragraphs in plain, direct sentences. Do not prepend vague bold summary phrases followed by a colon (**Summary phrase**: ...) to every bullet point. That pattern adds visual noise and forces readers to scan an artificial mini-heading before reading the actual point.

Reserve bold lead-ins for concrete named terms, configuration keys, document types, or distinct entities that the item defines (such as **Training Store**: or **Tutorial**:). When a point needs a full explanation, write a normal paragraph or a plain sentence inside the list.

Avoid:

  • Use Storybook or isolated previews for deep states: Deep screens, empty states, and loading transitions are tedious to reach through a live backend workflow.

Prefer:

  • Surface deep screens, empty states, and loading transitions in Storybook or isolated preview stories so human reviewers can inspect them directly.

Cross-references

When an explanation, how-to guide, and reference cover the same system, link them in both directions under a ## Related resources section at the bottom of each page. Never add placeholder links to pages that do not exist yet.

Callouts

Choose each callout type according to the consequence for the reader.

Callout type When to use
note Optional background or edge-case context that the reader can safely skip on a first pass
caution Actions that can cause data loss, broken training runs, or unintended environment changes
tip Practical recommendations and shortcuts based on team experience

Code blocks

Keep runnable commands and command output in separate blocks, using a txt output code fence for output so the copy button copies only runnable commands. Omit leading $ or % shell prompts. Use <UPPER_SNAKE> for placeholders in configs and URLs, $VAR in shell and curl commands, and [optional] for optional arguments. Avoid bare {braces} as placeholders outside API path templates because MDX parses them as JSX.

Tables

Keep tables to roughly four columns where possible, avoid merged cells, limit each cell to one sentence, and introduce every table with a complete sentence. Do not insert large tables mid-step inside numbered procedures.

Inline code

Use inline code (backticks) for literal text that readers type verbatim or encounter directly in code, terminals, files, and configuration. Keep general concepts, document categories, product names, relationship descriptions, and plain numeric values (numbers, percentages, physical measurements, and dates such as 78.9%, 44.1 kHz, -23 LUFS, and 2026-11-21) in regular prose without backticks.

The table below lists the main elements formatted as inline code:

Element Example
Commands, subcommands, and CLI flags Run vocalsynth train --resume 4.2
Files, directories, and extensions Edit infra/runtime/local.toml, upload a .wav file
Config keys and literal field values Set docType to reference
Code identifiers, classes, and phoneme tokens zh:iang, SP, AP
Environment variables and placeholders $VOCALSYNTH_EXPERIMENT_ENDPOINT, <attempt_id>
HTTP methods and endpoints Send a GET request to /llms.txt
Keyboard shortcuts Press Ctrl + C

Arrows in prose

Avoid arrow symbols (->, →, <-, ←) in prose when plain words express the relationship clearly, such as from ... to ..., through, or maps ... into .... Reserve arrows for compact formal rewrite rules or neural layer dimension chains when prose would obscure the mapping, and keep > for UI menu paths.

Formats, units, and UI controls

Use the conventions below for file formats, measurements, dates, keyboard shortcuts, and UI controls.

Element Convention Example
File type Uppercase regular text JSON, TOML, WAV
File extension Lowercase code font with leading dot plus noun .toml file, .wav file
Numbers and units Space between value and unit in regular text, never pluralize symbols 44.1 kHz, 10 ms, 128 GB
Dates ISO-8601 format in regular text, avoid time-bound dates in evergreen docs 2026-11-21
Keyboard keys Use press, put combinations inside one code span Press Ctrl + C
UI controls Use select, bold clickable labels, join menu paths with unbolded >, italicize dropdown choices, omit decorative icons, avoid positional words (above, left) Select Settings > Audio, then choose 48 kHz

Type to search…

↑↓ navigate↵ selectEsc close