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.
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 …' :::
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 few | multiple-choice |
| Recall a fact, term or sign, and keep it over days | flashcards fill-blank |
| Calculate a value | numeric-input |
| Put steps in order, or connect related items | ordering matching |
| Find or name something on an image | hotspot |
| Fill in a grid | table-input |
| Explain or argue in their own words | free-text |
| Explore how something changes | slider-explore simulation geometry plot |
| Write and run code | code-exercise (Python, on the device) |
| Read music, play a key, find the chess move, draw, listen and speak | score 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.
-
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
-
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 -
Pack and sign
One
.coursefile, 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
-
Share it
Send the file by email, chat or a download link. It opens in Tome on any device.