Tome for authors

Write courses people keep.

A course is a folder of Markdown lessons with exercises mixed in. No code and nothing to configure: if you can write a blog post, you can write a course.

What you write · lessons/01-what-is-a-vector.md
:::widget type="multiple-choice" id="q-same-vector"
prompt: Which of these arrows represents the same vector
  as the one from $(0,0)$ to $(2,1)$?
options:
  - text: From $(5,5)$ to $(7,6)$
    correct: true
    explanation: It moves 2 right and 1 up — same displacement.
  - text: From $(0,0)$ to $(1,2)$
    explanation: That's 1 right and 2 up — the coordinates are swapped.
  - text: From $(2,1)$ to $(0,0)$
    explanation: Same length, but it points the opposite way. …
hint: 'A vector is a displacement — how far right …'
:::
What learners see, after a wrong answer
The exercise as Tome shows it: the learner picked From (0,0) to (1,2), and Tome says Not quite, try again, with the explanation that the coordinates are swapped and a hint. The same exercise in dark mode.

Exercises

Start from what the learner should be able to do

Twenty-one exercise types, each one a short block in your lesson. Every wrong answer can carry its own explanation, so learners find out why, not only that they were wrong.

The learner should be able to…Use
Recognise the right answer among a fewmultiple-choice
Recall a fact, term or sign, and keep it over daysflashcards fill-blank
Calculate a valuenumeric-input
Put steps in order, or connect related itemsordering matching
Find or name something on an imagehotspot
Fill in a gridtable-input
Explain or argue in their own wordsfree-text
Explore how something changesslider-explore simulation geometry plot
Write and run codecode-exercise (Python, on the device)
Read music, play a key, find the chess move, draw, listen and speakscore keyboard board molecule sketch dictation record

The guide explains when to use each one, and when to use none.

How it works

From a folder to a file in four steps

You need Node 20 or newer and a text editor. The guide walks you through a real, signed course in about an hour.

  1. Start a course

    Get a folder with two short example lessons to change, rather than a blank page.

    $ npm install -g @tome-courses/cli
    $ tome new my-course
  2. Write and watch

    The player shows your course and reloads every time you save. Mistakes show up on the page and in your terminal.

    $ tome preview my-course
  3. Pack and sign

    One .course file, signed with your own key, so people know it comes from you unchanged.

    $ tome build my-course --out dist
    $ tome sign dist/*.course my-key.json
  4. Share it

    Send the file by email, chat or a download link. It opens in Tome on any device.

Sharing

Share it with anyone

A class, a club, a friend: send them the file. Tome asks before opening a course from another author, then keeps it in their library like any other, marked From an author.

Questions or ideas? Write to hello@tome.courses.

Signing

Show it comes from you

Signing adds your key's fingerprint to that mark, for example d6e4 37ab 9817 ffb3, and proves the file has not changed since you signed it.

Tell people your fingerprint some other way, in person or on your own site, so they can recognise courses from you.