Skip to content

Getting Started

Creating your first deck

  1. Launch Cram -- it opens to the deck list view
  2. Click + New Deck and enter a name
  3. A sample "Rust Basics" deck is created automatically on first launch

Adding cards

  1. Click Edit on any deck to open the card editor
  2. Click + Add Card to create a new card
  3. Write Typst markup in the Front and Back fields
  4. The preview updates automatically as you type (with a 300ms debounce)
  5. Click Save to persist changes, or Full Screen to preview at full size

Studying

  1. Click Study on any deck to begin a session
  2. Cards are presented in a random order
  3. The front of the card is shown -- press Space or click Show Answer to reveal the back
  4. Press Space or click Next to advance to the next card
  5. Press Esc to return to the deck list at any time
  6. After all cards are reviewed, a session summary shows the number of cards reviewed and the elapsed time

Using the preamble

Each deck has an optional Typst preamble -- shared code prepended to every card when rendering. Use it for common imports, text size settings, or macros:

#set text(size: 14pt)
#set page(margin: 1em)

Open the preamble editor via the collapsible Deck Preamble section in the card editor.

Keyboard shortcuts

Key Action
Space Show answer / Next card
Esc Back to deck list