Mind maps
A mind map is its own item in the tree. Its source is a Markdown outline, so you can write a whole map as text — and everyone who has it open sees edits live.
Syntax
```
%% layout=right
Lifelong learning
- Introduction
- Why this topic

- Research question
Ask the advisor before deciding.
- Method %% color=3 shape=pill b
- [x] Get ethics approval
- [ ] Write the abstract
- Sample size $n = \dfrac{z^2}{e^2}$
```
That outline renders as:

- The `# ` line is the central idea — and the map's name.
- Each `- ` is an idea. Indent two spaces per level for child ideas.
- `- [ ] ` and `- [x] ` make checkbox ideas.
- An indented line right under an idea: the first embed line becomes the idea's picture, audio or video; other lines become the idea's notes.
- Math works as on pages: `$…$` inline, or a whole idea of `$$…$$` for a formula block.
Layout
Put `%% layout=…` on the first line:
- `both` — branches on both sides (default)
- `right` — branches grow to the right
- `down` — top to bottom
Styling an idea
Add options after ` %% ` at the end of an idea's line, separated by spaces:
| Option | Effect |
|---|---|
| `shape=card`, `ul`, `pill`, `plain` | Card, underline, pill or plain text |
| `color=1` … `8` | Branch color (children follow) |
| `size=s` or `size=l` | Small or large text |
| `b` | Bold |
| `line=curve`, `elbow`, `straight` | Connector style to child ideas (set on the central idea for the whole map) |
| `link=<address>` | Make the idea a link — to a website or a page in the space |
| `msize=s`, `l` or pixels; `mpos=bottom`, `left`, `right` | Picture size and position |
If you drag an idea away from its automatic position, two numbers (the offset in pixels) appear after `%%`. Delete them to snap the idea back.
Media in ideas
- Images: uploaded images or links to images on the web
- Audio and video files from the space
- YouTube videos
Embed in a page
A mind map can be shown inside a text page as a read-only block that opens the full map on click. See [Embeds](https://openthink.app/n/6eb43cedc7d8).