Cards in Recall are written in Markdown, a simple way of formatting text with ordinary characters. You can also write maths in LaTeX, which is rendered neatly with KaTeX. The live preview under the editor shows the result as you type.
Text formatting
| You type | You get |
|---|---|
**bold** |
bold |
*italic* |
italic |
`code` |
code |
[link text](https://example.com) |
a link |
A few things happen automatically:
- Line breaks are kept. Press Enter once and the next text starts on a new line, just as you typed it.
- Web addresses become links. Paste
https://example.comand it’s clickable. - Links open in a new tab, so you don’t lose your place while studying.
Lists
Start lines with - for bullet points or 1. for numbered lists:
- Mercury
- Venus
- Earth
1. Inhale
2. Hold
3. Exhale
Lists are great on the back of a card when the answer has a few short parts. If you find yourself writing long lists, consider splitting them into several cards or using a cloze.
Headings, quotes and dividers
## Headingfor a heading.> quoted textfor a quotation.---on its own line for a horizontal line.
Tables
| Verb | Past tense |
| --- | --- |
| go | went |
| see | saw |
Tables are handy for comparisons, like conjugations or drug classes. Keep them to two or three narrow columns so they fit comfortably on a phone screen.
Code
Put short code inside backticks: `print("hi")`. For longer snippets, use a fenced block with three backticks on the lines before and after:
```
def square(x):
return x * x
```
Maths with LaTeX
Write maths between dollar signs or LaTeX brackets:
| Style | Syntax | Use for |
|---|---|---|
| Inline | $x^2 + y^2 = z^2$ or \(x^2\) |
Maths inside a sentence |
| Display | $$\int_0^1 x\,dx$$ or \[ \int_0^1 x\,dx \] |
A formula on its own line, centred |
A few examples to copy:
$\frac{a}{b}$ a fraction
$\sqrt{2}$ a square root
$x_1, x_2, \dots, x_n$ subscripts
$e^{i\pi} + 1 = 0$ superscripts
$\alpha, \beta, \Delta$ Greek letters
$$\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}$$
Prices and dollar signs
You don’t need to worry about prices. Something like It costs $5 is left as plain text and isn’t treated as maths. If you ever need a literal dollar sign that Recall mistakes for maths, write \$.
When maths doesn’t render
If a formula has a mistake, Recall shows it as plain code instead of breaking the card. Check for:
- a missing closing
$or}; - a command typed without its backslash, such as
fracinstead of\frac; - unsupported commands. KaTeX supports most everyday LaTeX, but not every package.
What isn’t allowed
For your security, raw HTML is switched off. Tags like <div> or <script> are shown as text rather than run. Links using unsafe schemes such as javascript: are refused. Cards imported from Anki have their HTML converted to Markdown, so formatting like bold and lists comes across safely.
Tips
- Watch the preview. It updates as you type and shows exactly what the study screen will show.
- Keep formatting light. Bold the one word that matters, rather than the whole answer.
- Use display maths for anything tall. Fractions and sums read better on their own line.
- Press Ctrl+Enter (Cmd+Enter on a Mac) to save the card without reaching for the mouse.
For pictures, see Images and drawings.