Blocks
Every block you can insert from the / menu, and what readers see.
Pages are built from blocks. Type / on an empty line, or use the + beside a line, to insert
one. Each block below lists the name to type in the insert menu and its Markdown form, which is
what Git Sync and the Markdown export write.
Basic#
Block | Insert menu | Notes |
|---|---|---|
Paragraph |
| |
Headings |
| Headings get anchors and appear in the page outline. |
Lists |
| Task lists keep their checkboxes. |
Quote |
| |
Divider |
|
Inline#
Block | Insert menu | Markdown |
|---|---|---|
Button |
|
|
Badge |
|
|
Footnote |
|
|
Inline math |
|
|
Hints#
Four styles: Info hint, Success hint, Warning hint and Danger hint.
Info hints add useful context.
Warning hints call out something to be careful about.
{% hint style="info" %}
Info hints add useful context.
{% endhint %}Code#
Code block highlights the language you pick and can show a title, line numbers and wrapped lines. Code group shows one sample in several languages as tabs, named by each block's title.
npm install @acme/sdk{% code title="install.sh" lineNumbers="true" %}
...a fenced code block...
{% endcode %}
{% code-group %}
...code blocks with titles...
{% endcode-group %}Layout#
Block | Insert menu | Markdown |
|---|---|---|
Tabs |
|
|
Stepper |
|
|
Expandable |
|
|
Columns |
|
|
Cards |
| GitBook's |
Table |
| GitHub-flavored Markdown tables |
Try an expandable
Expandables hide detail until the reader asks for it — good for FAQs and long examples.
Links to pages#
Page link is a card for another page. It always shows that page's current title and address, even after the page is renamed or moved. Subpages shows a card for each page under the current one, kept up to date as you add pages.
{% content-ref url="guides/deploy.md" %}
[deploy.md](guides/deploy.md)
{% endcontent-ref %}
{% subpages %}Media#
Block | Insert menu | Notes |
|---|---|---|
Image |
| With alt text and an optional caption. |
Gallery |
| Images side by side. |
Video |
| Upload an |
Embed |
| YouTube, Loom, Figma and other links. |
File |
| A download — PDF, ZIP, spreadsheet — up to 20 MB. |
Math and diagrams#
Math equation renders TeX with KaTeX:
Mermaid diagram draws flowcharts and sequence diagrams from text, in the reader's browser:
sequenceDiagram Writer->>Draft: Edit Draft->>Reviewer: Submit for review Reviewer->>Space: Publish
Special blocks#
Block | Insert menu | Learn more |
|---|---|---|
OpenAPI reference |
| |
Snippet |
| |
Conditional content |
|
Was this helpful?
Last updated
View as Markdown