Markdown Guide

Markdown Syntax Guide for Documents You Will Export to Word

Markdown is easiest to maintain when its structure is simple and explicit. This guide covers the syntax that matters most in reports, notes, and AI-generated drafts, plus the checks worth making before DOCX export.

Build a clear heading hierarchy

Use one level-one heading for the document title, level-two headings for major sections, and level-three headings only inside the relevant section. This structure maps naturally to Word heading styles and produces a useful document outline.

  • Put a space after each # marker.
  • Do not jump from H1 directly to H3.
  • Use descriptive headings instead of generic labels such as Notes or More.
# Quarterly Research Report

## Method

### Sample selection

Use inline formatting for meaning

Bold text should mark important terms, while italic text is better for light emphasis, publication titles, or variables. Inline code is useful for commands, file names, configuration keys, and short identifiers.

**Decision:** Ship the revised export flow.

Run `npm run build` before deployment.

Write links and quotations that survive export

Use descriptive link text so the destination still makes sense in a printed or exported document. Blockquotes work well for source excerpts, warnings, or a clearly separated note.

  • Avoid bare URLs when a descriptive label is available.
  • Verify external links after opening the DOCX.
  • Keep long quotations short enough to scan.
> Review the source before relying on the conclusion.

Read the [Markdown tables guide](/markdown-guide/tables).

Apply this guide

Related Markdown guides