Bullet types
Type / at the start of a bullet to change its type. Each type stores the fields below, besides the fields every bullet has. Except in code and math, text takes inline formatting.
The default bullet.
- Hello world
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The text |
A heading, as Heading 1, Heading 2 or Heading 3 in the / menu.
- Timeline
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The heading |
level |
number |
Yes | 1, 2 or 3, from largest to smallest |
Number
Section titled “Number”An item of a numbered list, as Numbered list in the / menu.
- 1.Item A
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The text. The number itself is not stored |
Checkbox
Section titled “Checkbox”A task.
- Task B
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The text |
checked |
boolean |
Yes | Whether the checkbox is checked |
Divider
Section titled “Divider”A line between bullets.
- Hello, world
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
No | The label |
Callout
Section titled “Callout”A box that stands out.
Danger
Hello world
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The text |
title |
string |
No | The title |
level |
string |
Yes | neutral, success, info, danger, warning or important |
- Column 1Column 2HelloWorld
| Field | Type | Required | Description |
|---|---|---|---|
rows |
string[][] |
Yes | The cells, row by row. Every row has the same number of cells |
header |
string |
No | horizontal for a header row, or vertical for a header column |
widths |
number[] |
No | Width of each column, in pixels |
A picture from your assets or from a URL.
| Field | Type | Required | Description |
|---|---|---|---|
src |
string |
Yes | A file name in the assets, or a URL |
width |
number |
No | Width in pixels. Omitted for the image’s own size |
Any file from your assets. Click it to open it.
- dinosaur-species.csv
| Field | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes | A file name in the assets |
A block of code, with syntax highlighting.
- helloWorld.js
const msg = "Hello world"; console.log(msg);
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The code |
filename |
string |
No | A file name shown above the code |
lang |
string |
No | The language, such as json |
shrink |
boolean |
No | Whether a long block shows only its first lines |
lineNumbers |
boolean |
No | Whether line numbers are shown |
firstLineNumber |
number |
No | Number of the first line. Omitted for 1 |
A formula in LaTeX, drawn with KaTeX.
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The LaTeX of the formula |
A bullet with an icon and a background, shown when you zoom into it.
Tyrannosaurus rex
| Field | Type | Required | Description |
|---|---|---|---|
text |
string |
Yes | The title |
icon |
string |
No | An emoji, a file name in the assets, or a URL |
background |
string |
No | A color such as #fab005, a file name in the assets, or a URL |
position |
number |
No | Vertical position of the background image, from 0 (top) to 100 (bottom). Omitted for 50 |
