Brain syntax cheat sheet
| Syntax | Meaning |
|---|---|
[[Note]] | Wikilink |
[[Note|Alias]] | Wikilink with display text |
[[arc://Person/id]] | Link to an ARC entity |
![[Note]] | Include / transclusion |
![[Note#Heading]] | Section include |
![[arc://view/name]] | Saved database view |
![[arc://Person/…]] | Entity embed |
![[arc://metric/KEY?days=30]] | Analytics metric sparkline embed (days 7–365, optional param=) |
```mermaid | Diagram (rendered in preview) |
```youtube | YouTube embed (URL on next line) |
```iframe / ```web | Embed a web page |
```gif / ```image | Image / GIF |
```callout | Styled callout (info / tip / warning / danger) |
```arc-graph / ```graph | Local force-graph (noteId: / depth: optional; defaults to host note) |
| Page header | Note setting: designed title banner (subtitle + optional image) in preview/publish |
| Publish page | Per-note public URL /brain/p/:slug — body only; linked notes stay private |
Editor helpers
- Type
/for slash commands (heading, table, mermaid, youtube, callout, wikilink, embed, every entity type) - Type
[[for autocomplete over Brain notes and ARC entities - Sidebar Link ARC entities attaches ABOUT links and inserts
[[arc://Type/id|Label]]
See also: composition.md