Quick Reference
A quick reference guide with essential syntax and shortcuts.
Quick Reference
A cheatsheet of essential Rhizome syntax and features. Each section is transcluded from its full guide for easy access.
Wiki-Links
Wiki-Links
Wiki-links are the primary way to connect notes in Rhizome:
| Syntax | Result |
|---|---|
[[Note Title]] | Links to note by title |
[[Note Title|display text]] | Shows "display text" but links to note |
[[Note#Section]] | Links to specific heading in note |
[[Note#^block-id]] | Links to specific block by ID |
[[Note#Section|display text]] | Anchor link with custom text |
[[Knowledge Graph Basics]] | Knowledge Graph Basics |
[[Knowledge Graph Basics|learn about graphs]] | learn about graphs |
[[Embeds and Anchors#Heading Anchors]] | Embeds and Anchors |
Wiki-links are case-insensitive. [[welcome to rhizome]] and [[Welcome to Rhizome]] link to the same note.
Clicking a wiki-link opens it in a split pane, letting you view both notes side-by-side. See Split-View Navigation for more.
For advanced features like embedding notes inline (![[...]]), see Embeds and Anchors.
Anchor Links
Combined Syntax
You can combine all features:
| Syntax | Purpose |
|---|---|
[[Note]] | Basic link |
[[Note|#Section]] | Link with anchor |
[[Note|#^block-id]] | Link to block |
[[Note|#Section|alias]] | Link with anchor and alias |
![[Note]] | Full embed |
![[Note|#Section]] | Section embed |
![[file.pdf]] | PDF embed |
![[file.pdf#page=5]] | PDF at specific page |
Callout Types
Supported Callout Types
| Syntax | Type | Use Case |
|---|---|---|
[!note] | Note | General information |
[!tip] | Tip | Helpful suggestions |
[!warning] | Warning | Important caveats |
[!danger] | Danger | Critical warnings |
[!info] | Info | Background information |
Foldable Callouts
Foldable Callouts
Add + or - after the type to make callouts collapsible:
+starts expanded (user can collapse)-starts collapsed (user can expand)
This callout starts expanded. Click the arrow to collapse it.
> [!tip]+ Click to Expand
> This content is visible by default.
> [!warning]- Collapsed by Default
> This content is hidden by default.
Use cases for foldable callouts:
| Use Case | Type | State |
|---|---|---|
| FAQ answers | [!note]- | Collapsed |
| Optional deep-dives | [!info]+ | Expanded |
| Spoiler content | [!warning]- | Collapsed |
| Technical appendix | [!note]- | Collapsed |
Diagram Types
Diagram Syntax Reference
| Diagram Type | Keyword |
|---|---|
| Flowchart | graph or flowchart |
| Sequence | sequenceDiagram |
| Class | classDiagram |
| State | stateDiagram-v2 |
| ER | erDiagram |
| Pie | pie |
Full Mermaid documentation is available at mermaid.js.org. The site includes a live editor for testing diagrams.
Math Syntax
Syntax Reference
- Superscript:
x^2→ - Subscript:
x_i→ - Fraction:
\frac{a}{b}→ - Square root:
\sqrt{x}→ - Sum:
\sum_{i=1}^{n}→ - Product:
\prod_{i=1}^{n}→ - Integral:
\int_{a}^{b}→ - Limit:
\lim_{x \to \infty}→
In MDX files, use single backslashes for LaTeX commands. The processor handles the escaping correctly during rendering.
PDF Embedding
PDF Embeds
Embed PDF files using the same wikilink syntax:
![[document.pdf]]
![[document.pdf#page=5]]
See PDF Viewer for full documentation on PDF embedding, page deep linking, viewer controls, and external URLs.
Split-View Navigation
Opening Panes
| Action | Result |
|---|---|
| Click a wiki-link | Opens in new pane on the right |
| Click another link | Replaces the rightmost pane |
| Click a link in a pane | Opens in that pane |
The system keeps track of which pane you're interacting with and updates accordingly.
Build Commands
Build Commands
| Command | Description |
|---|---|
npm run gen | Generate content (manifest, search index, etc.) |
npm run dev | Start development server with hot reload |
npm run build | Build for production (runs gen automatically) |
npm run watch | Watch content files and regenerate on changes |
npm run test | Run unit tests |
npm run test:e2e | Run E2E tests with Playwright |
npm run test:e2e:ui | Run E2E tests with interactive UI |