Hyperdocs

Block Types

Hyperdocs content is composed of blocks. Each block type has its own rendering rules and editor behaviour.

Text Blocks

Paragraph — plain text, supports inline bold/italic/code
Heading 1 / 2 / 3 — section headings, auto-linked for TOC
Blockquote — styled callout for notes and tips

Code Blocks

Code blocks support 40+ languages with syntax highlighting. Specify the language after the opening fence.

typescript
const greet = (name: string) => `Hello, ${name}!`

Structural Blocks

Table — multi-column data with header row
Ordered list — numbered steps
Unordered list — bullet points
Image — with alt text and optional caption