docs-content-strategy

Formatting Standards

Consistent formatting reduces the cognitive load of reading technical content. These standards apply across all documentation types.


Headings

Use sentence case for all headings — capitalize only the first word and proper nouns.

Correct Incorrect
Set up your development environment Set Up Your Development Environment
Authentication and authorization Authentication And Authorization
Configure the NexaFlow SDK Configure The Nexaflow Sdk

Use headings to signal a change in topic, not to decorate sections that don’t need a visual break. Avoid consecutive headings with no body content between them. If you must nest headings, do not skip levels (H2 → H4).

Heading hierarchy:


Paragraphs

Write short paragraphs. Aim for 2–4 sentences. A paragraph that’s longer than 6 sentences almost always contains two or more ideas — split it.

Start each paragraph with the most important sentence. Readers who skim stop at the first sentence of each paragraph.


Lists

Use unordered lists for items that don’t have a meaningful sequence:

Use ordered lists for steps that must happen in sequence:

  1. Install the SDK.
  2. Set your API key.
  3. Initialize the client.

List formatting rules:


Tables

Use tables for structured comparisons. Tables are appropriate when:

Don’t use tables for two-column key/value lists — a definition list or prose is clearer.

Table formatting:


Code

Inline code: Use backticks for all of the following, even in the middle of a sentence:

Code blocks: Use fenced code blocks (triple backtick) for all multi-line code. Always specify the language for syntax highlighting:

```js
const result = await workflow.run({ userId: '123' });
```

What to show in code blocks:


Notes, warnings, and callouts

Use callout formatting sparingly. Overuse of callout boxes trains readers to ignore them.

Type Use for Formatting
Note Useful context that isn’t part of the main flow > **Note:** ...
Important Information the user must know to avoid an error > **Important:** ...
Warning Risk of data loss, security issue, or irreversible action > **Warning:** ...
Tip Optional shortcut or best practice > **Tip:** ...

Reserve Warning for genuinely dangerous actions. If everything has a Warning box, none of them will be read.


Numbers and units


Dates and times



File naming