# MicroLearn skill: format a course for the interactive slideshow

> **Are you an AI and were you given the address of this page?** It contains your instructions.
> Read all of it, then turn the course provided by the teacher into **a single Markdown document**
> that follows the syntax below exactly. The file will be pasted into *MicroLearn Studio*,
> which turns it into an interactive slideshow (quizzes, flip cards, timelines, character dialogues…).

---

## 1. Your mission

1. **Read the content provided** (text, outline, notes, copied PDF, etc.). Do not lose any important information and do not invent any facts.
2. **Split it into short slides**: one idea per slide, 40 to 80 words of text at most. A module usually has 8 to 20 slides.
3. **For each slide, choose the most engaging format** (see § 4). Vary the formats: avoid more than two "Content" slides in a row.
4. **Add interactivity**: at least one quiz every 4 to 6 slides, cards for vocabulary, a timeline for dates, a dialogue to introduce a situation.
5. **Let characters speak** (roles `mentor` and `peer` by default) in dialogues, tips and quizzes, and **suggest a list of jobs** (`jobs`, see § 5) that fits the course.
6. **Return your answer** in the format described in § 7.

Write the course in the requested language (by default, the language of the content provided) and set it in `lang`. The examples on this page are in English, but the syntax is identical in French: only the texts change; format, role and expression identifiers always stay in English/lowercase.

**Long course?** Beyond about 20 slides, split it: either into **chapters** within one module (one `format-title` slide per chapter), or into **several modules** (see § 2b) if the teacher asks for it or the content exceeds 30 to 40 slides.

If the teacher gives instructions (duration, audience, tone, number of slides, preferred formats), they take precedence over the recommendations on this page. Never change the **syntax**.

---

## 2. Overall file structure

The file starts with a **YAML header** between two `---` lines, followed by the slides, **separated by a line containing only `---`**.

```markdown
---
title: "Module title"
subtitle: "Micro-learning · 10 minutes"
description: "One sentence that makes people want to take the module."
duration: 10 min
author: "Teacher's name"
lang: en
theme: violet
jobs: [teacher, careers adviser, school librarian]
characters:
  mentor: "The Guide"
  peer: "The Colleague"
---

<!-- slide: format-title -->
### First title
Text of the first slide.

---

<!-- slide: format-content -->
### Second slide
Text…
```

### Header fields

| Field | Required | Purpose |
|---|---|---|
| `title` | yes | Module title (in quotes if it contains `:` or `'`). |
| `subtitle` | no | Small text above the title on the welcome screen. |
| `description` | recommended | One-sentence introduction on the welcome screen. |
| `duration` | recommended | Estimated duration, e.g. `10 min`. |
| `author` | no | Author. |
| `lang` | **yes** | Course language: `en` or `fr` (more languages to come). It translates the slideshow buttons and instructions (Next, Check, Try again…) and selects the read-aloud voices. **Always set the language you write the course in.** |
| `theme` | no | Colours: `violet` (default), `ocean`, `sunset`, `forest`, `night`. |
| `characters` | recommended | Character **roles** and their displayed label (see § 5). |
| `audio` | no | `off` to disable read-aloud for the whole module. |
| `audio-min` | no | Length (in characters) from which a text gets a listen icon. Default: `120`. |
| `course` | no | Name of the **course** when the training has several modules. |
| `module` / `modules` | no | Position of this module and total number of modules in the course, e.g. `module: 2` and `modules: 4`. |
| `next` | no | Next module: `title` (and an optional `url`, for web publishing; ignored in SCORM). `label` changes the button text (default "Next module"). |
| `jobs` | **recommended** | Jobs given to the characters, see § 5. E.g. `jobs: [nurse, care assistant, ward manager]`. |
| `color` / `accent` | no | Main / secondary colour, e.g. `color: "#1f7a8c"`; backgrounds derive from it. Only if the teacher gives a colour (brand, tool). |
| `address` | no | French only: `tu` makes the player's interface use the informal "tu". |
| `score` | no | `off`: no score on the end screen (tour, discovery, ungraded module). |
| `exit` / `exit-label` | no | Address and text of an "Exit" button (only if the teacher gives the return address). |
| `labels` | no | Replaces interface texts, e.g. `p.slide: "Step {n}"`, `p.endTitle: "Tour complete!"` (one indented line per text). Only on request. |
| `dialogue-autoplay` | no | `off`: chat-style dialogues (`format-sms`) advance on click instead of playing on their own. |

### Mandatory rules

- A `---` line on its own **always separates two slides**. **Never** use `---` as a horizontal rule inside a slide.
- Each slide starts with the comment `<!-- slide: format-xxx -->` (see § 4), optionally followed by other `<!-- key: value -->` comments.
- Each slide has **exactly one main heading**, at level `###`. `####` subheadings are only used by the Tabs format.
- `<!-- … -->` comments are not displayed: they are settings.
- Everything else is standard Markdown: **bold**, *italic*, lists, links, tables, `code`.
- Do **not invent any image path**. Only use an image (`![alt text](path)`) if the teacher gives you its path or URL; otherwise choose a format that does not need one. Always provide a descriptive alt text.

### 2b. A course in several modules

Each module is a complete, self-contained Markdown document (its own header, its own slides). **You number the modules and link them together.**

**Procedure:**

1. First plan the split: list the N modules in order, each with a short, distinct title (5 to 15 slides per module).
2. In the header of **every** module, set:
   - `course`: the **same course name** in all modules (copy it exactly, character for character);
   - `module`: the position of the module, from `1` to N;
   - `modules`: N, **identical in all modules**;
   - `next` → `title`: the **exact** `title` of the next module (module k+1);
   - the same `lang`, the same roles in `characters` and the same `theme` in all modules, for a consistent experience.
3. **Last module** (module N): no `next` field.
4. Each module starts with a `format-title` slide (with, for example, `<!-- eyebrow: Module k -->`) and ends with a short closing slide that announces the next module.
5. `url`: **only add it if the teacher says the modules will be published on the web, an intranet or a USB stick.** In that case use `url: "../<folder>/index.html"`, where `<folder>` is the next module's title in lowercase, without accents, with every run of characters other than letters and digits replaced by a hyphen, and no hyphen at the start or end (e.g. "Contrast and colour" → `contrast-and-colour`). This is the folder name created by the ZIP export. Never add a `url` for SCORM delivery.

**Example: module 2 of a 3-module course**

```markdown
---
title: "Accessible forms"
course: "Digital accessibility"
module: 2
modules: 3
next:
  title: "Contrast and colour"
lang: en
theme: ocean
characters:
  mentor: "The Guide"
  peer: "The Colleague"
---
```

Module 1 would have `module: 1` and `next` → `title: "Accessible forms"`; module 3, `module: 3` and no `next`.

The end screen of each module shows progress through the course ("Module 2 / 3") and presents the next module.

---

## 3. Slide settings (comments)

| Comment | Effect |
|---|---|
| `<!-- slide: format-quiz -->` | Slide format (required). |
| `<!-- character-role: mentor -->` | Character presenting the slide (dialogue, tip, quiz, cover). |
| `<!-- character-expression: happy -->` | Character expression. |
| `<!-- eyebrow: Chapter 2 -->` | Small label above the title (Cover format). |
| `<!-- button: Start -->` | Button text (Cover format). |
| `<!-- badge: Tip -->` | Badge text (Tip format). |
| `<!-- audio: all -->` | Listen icon on every text of the slide, even short ones. |
| `<!-- audio: off -->` | No read-aloud on this slide (e.g. when hearing the text would spoil the exercise). |
| `<!-- id: menu -->` | Slide identifier, target of a `[text](#menu)` link (see `format-menu`). `<!-- id: end -->` = conclusion of a pick-your-path course. |
| `<!-- branch: desk -->` | Start of the `desk` part of a menu (`format-menu`). |
| `<!-- parent: menu -->` | Menu the part returns to (default: the last menu before it). |
| `<!-- autoplay: off -->` | Chat-style dialogue (`format-sms`): lines on click rather than automatic. |
| `<!-- chapter: Chapter name -->` | Starts a chapter on this slide. Every `format-title` slide already starts one automatically (`<!-- chapter: no -->` to prevent it). |

**Available expressions**: `neutral`, `happy`, `encouraging`, `thinking`, `surprised`, `concerned`.

---

## 4. Slide formats

### `format-title` — Cover / chapter opening
Large title, hook, character or image, start button. Use it for the **first slide** and to open each major part.

```markdown
<!-- slide: format-title -->
<!-- character-role: mentor -->
<!-- character-expression: happy -->
<!-- eyebrow: Module 1 -->
### Welcome to the world of photosynthesis
In 10 minutes, discover how plants make their energy.
```

### `format-content` — Content
Text, lists, tables. An image on its own line is displayed next to the text.

```markdown
<!-- slide: format-content -->
### The ingredients of photosynthesis
A plant needs three things:

- **light** from the sun
- **water** drawn up by the roots
- **carbon dioxide** from the air
```

### `format-dialogue` — Character dialogue
Each `>` quote is a line, shown one at a time. To change speaker, put a `character-role` comment before the line, **or** start the line with `@role:` or `@role(expression):`.

```markdown
<!-- slide: format-dialogue -->
<!-- character-role: peer -->
<!-- character-expression: thinking -->
### A starting question
> Say, why are leaves green?

> @mentor(happy): Because of chlorophyll! It is what captures the light.

> @peer(surprised): So it is the plant's solar panel!
```

Ideal for: introducing a situation, raising a problem, closing the module (a single line is enough).

The first role declared in `characters` (usually `mentor`) always speaks on the left, the others on the right: declare the guiding character first.

### `format-sms` — Chat-style dialogue
Same syntax as `format-dialogue` (`> @role(expression): text`), but shown as a phone conversation: lines arrive on their own, one by one, after a "…" indicator. Keep lines short (one or two sentences, 25 words at most) and use 3 to 7 lines. Add `<!-- autoplay: off -->` if learners should read at their own pace (long or important lines).

```markdown
<!-- slide: format-sms -->
### A message before the lab
> @peer(thinking): Hi! Do we really have to hand in the report tonight?

> @mentor: Yes, before 8 pm on the platform.

> @peer(concerned): What if I haven't finished the measurements?

> @mentor(encouraging): Hand in what you have and explain what is missing. Better than nothing!
```

Ideal for: an informal exchange, a practical question, an everyday situation. No more than one or two per module.

### `format-prenom` — Ask for the first name
The character asks a question (a `>` quote), the learner types their first name (optional). Then `{name}` is replaced by that name in the text of every slide. **Always write `{, name}`** ("Welcome{, name}!"): without a name, the marker disappears with its comma. Use it only if the teacher asks for it or for a very friendly tour, as the 2nd slide.

```markdown
<!-- slide: format-prenom -->
<!-- character-role: mentor -->
<!-- character-expression: happy -->
### Let's get acquainted
> Hello! Before we start, what's your name?
```

### `format-menu` — Pick-your-path course
A menu where each button leads to a **part**. Each item: `- [emoji Label](#identifier) :: short description`. The part starts with a slide carrying `<!-- branch: identifier -->` and ends at the slide that opens another part, at a menu or at an `<!-- id: … -->` slide. At the end of a part, the player leads back to the menu; parts already seen are ticked. `>` quotes are the guide's lines: the 1st on the first visit, the 2nd on return, the 3rd when everything has been seen. `[Label](#id "featured")` highlights an item. Finish with a conclusion slide `<!-- id: end -->`, reached with the "I'm done" button.

```markdown
<!-- slide: format-menu -->
<!-- id: menu -->
<!-- character-role: mentor -->
### Where shall we start?
> Pick a part and I'll take you there. You'll come back here at the end of each one.

> Shall we go on? Parts you have seen are ticked.

> You've seen everything, well done! You can finish or review a part.

- [🛎️ The front desk](#desk) :: Where it all starts
- [📚 Vocabulary](#words) :: The words of the trade

---

<!-- slide: format-dialogue -->
<!-- branch: desk -->
### The front desk
> …

---

<!-- slide: format-flashcards -->
<!-- branch: words -->
### Vocabulary
- **Shelf mark** :: …

---

<!-- slide: format-dialogue -->
<!-- id: end -->
### Let's recap
> …
```

Use it only for a tour, a pick-your-path training or if the teacher asks for it, with 3 to 8 independent parts (order must not matter). Each `#identifier` in the menu needs its `<!-- branch: identifier -->` slide. In any slide, a `[text](#id)` link also leads to the `<!-- id: … -->` or `<!-- branch: … -->` slide.

### `format-conseil` — Character tip
A "tip" box with the character shown large. A `>` quote inside is highlighted.

```markdown
<!-- slide: format-conseil -->
<!-- character-role: mentor -->
<!-- character-expression: encouraging -->
<!-- badge: Memory trick -->
### Remember the equation
Think "**CO₂ + water + light → sugar + O₂**".

> The plant eats light and breathes in what we breathe out!
```

### `format-quiz` — Quiz
- `- [x]` = correct answer, `- [ ]` = wrong answer.
- **Several `[x]`** = multiple-answer quiz (Check button).
- After an answer, add ` :: explanation` for tailored feedback (recommended for wrong answers).
- A `>` quote at the end = general explanation shown after answering.
- The character reacts automatically (happy / concerned).
- 3 to 5 options, a single question per slide.

```markdown
<!-- slide: format-quiz -->
<!-- character-role: mentor -->
<!-- character-expression: thinking -->
### Which gas does the plant release?
- [ ] Carbon dioxide :: No, that is the one it absorbs.
- [x] Oxygen :: Exactly, a "waste product" that is precious to us.
- [ ] Nitrogen
- [ ] Water vapour :: It releases some too, but it is not the product of photosynthesis.

> Photosynthesis produces sugar and releases oxygen.
```

### `format-flashcards` — Flip cards
Vocabulary, definitions, key notions. Syntax: `- **Term** :: Definition`. 3 to 8 cards.

```markdown
<!-- slide: format-flashcards -->
### Key vocabulary
Flip each card to discover its definition.

- **Chlorophyll** :: Green pigment that captures light.
- **Stoma** :: Small opening in the leaf through which gases enter and leave.
- **Glucose** :: Sugar made by the plant, its source of energy.
```

### `format-timeline` — Timeline
Dates, steps of a process, an ordered procedure. Syntax: `- **Marker** :: Description`. 3 to 7 steps.

```markdown
<!-- slide: format-timeline -->
### The steps of photosynthesis
- **1. Capture** :: Chlorophyll absorbs light.
- **2. Uptake** :: Roots draw water, stomata take in CO₂.
- **3. Transformation** :: Light energy makes glucose.
- **4. Release** :: Oxygen is released into the air.
```

### `format-tabs` — Tabs (accordion on mobile)
Several facets of one notion. Each `####` subheading creates a tab. 2 to 6 tabs.

```markdown
<!-- slide: format-tabs -->
### Where does photosynthesis happen?
#### Leaves
They concentrate chlorophyll and capture as much light as possible.

#### Green stems
Some plants, such as cacti, carry out photosynthesis in their stems.

#### Algae
They carry out photosynthesis in water and produce a large share of the Earth's oxygen.
```

### `format-hotspots` — Interactive image
**Only if an image is provided.** Clickable points on the image. Syntax: `- X,Y :: **Title** :: Text`, where X and Y are percentages (0 to 100) from the top-left corner. If you do not know the image, spread the points evenly and tell the teacher the coordinates will need adjusting.

```markdown
<!-- slide: format-hotspots -->
### Anatomy of a leaf
Click the points to explore the leaf.

![Cross-section diagram of a leaf](images/leaf.png)

- 20,30 :: **Epidermis** :: Transparent protective layer.
- 50,55 :: **Chloroplasts** :: Where photosynthesis takes place.
- 75,85 :: **Stoma** :: Opening for gas exchange.
```


### Beta formats: interactive diagrams

These 7 formats (being tested) turn a list into a diagram that learners explore part by part. Shared syntax: `- **Part** :: explanation` (label of 1 to 3 words); an optional `>` quote is the **takeaway**, revealed only once every part has been explored.

| Format | When to use it | Items | Options |
|---|---|---|---|
| `format-puzzle` | the components of a whole (pieces to put back in place) | 2 to 6 | — |
| `format-pyramid` | a hierarchy; the 1st item is at the **top** | 2 to 7 | — |
| `format-funnel` | a filtering, from widest to narrowest | 2 to 7 | — |
| `format-cycle` | steps that come back in a loop | 2 to 8 | `<!-- center: … -->` |
| `format-process` | a method, successive steps | 2 to 7 | — |
| `format-matrix` | two crossed criteria; order: top-left, top-right, bottom-left, bottom-right | 4 | `<!-- axis-x: … -->`, `<!-- axis-y: … -->` |
| `format-hub` | a central concept and its components | 2 to 8 | `<!-- center: … -->` (otherwise the title) |

```markdown
<!-- slide: format-cycle -->
<!-- center: Learning by experience -->
### Kolb's learning cycle
- **Concrete experience** :: Live a situation.
- **Reflective observation** :: Step back, describe.
- **Conceptualisation** :: Draw a rule.
- **Active experimentation** :: Test it elsewhere.

> Learning means going round this cycle again and again.
```

Use them when the **structure of the idea** matches the shape, at most one or two per module. As they are in beta, prefer the main formats when in doubt.

---

## 5. Characters

- In the header, `characters` declares **roles** (short lowercase identifier → displayed label).
- Learners choose the appearance of each role themselves at launch, from a diverse set (ages, genders, origins, disabilities). **So never describe the physical appearance** of the characters in the text.
- Every role used in a slide **must be declared** in the header.
- Two roles are usually enough: `mentor` (the person who guides) and `peer` (a colleague or classmate who asks the learner's questions). You may add more (e.g. `client: "The Client"`).
- Characters address the learner in a warm, simple tone. Keep the same level of formality throughout the module.
- **Jobs (`jobs`)**: by default, each character in the set has a job unrelated to your course (engineer, lawyer…). **Always suggest** in the header a `jobs` list of 3 to 6 jobs **that fit the course and its audience** (the people met in that field): `jobs: [librarian, storekeeper, digital facilitator]`. They are shared out among the characters; their visible traits (age, disability, hijab…) stay visible. For a school audience, school roles or students (`year 9 student`, `biology teacher`) work well. `jobs: off` shows only the traits. (In French courses, write masculine/feminine forms separated by `/`.)

---

## 6. Teaching good practices

- **Slide 1**: `format-title`. **Slide 2**: often a `format-dialogue` that sets out the problem or what is at stake.
- **Last slide**: a short dialogue or a tip that sums up and encourages.
- Short, meaningful titles (under 60 characters), ideally phrased as a question or a statement.
- Short sentences, vocabulary suited to the audience, one notion per slide.
- Quizzes check what has just been covered; wrong answers must be plausible and their explanations useful.
- Accessibility: alt text for every image, no information conveyed by colour alone.
- Read-aloud is automatic (long texts, dialogues, opened items). Write sentences that sound good when spoken; avoid obscure abbreviations and symbols that are read awkwardly. Only add `<!-- audio: all -->` when useful.

---

## 7. Format of your answer

1. Return **each module in its own Markdown code block** (a single block if the course fits in one module), in order, each preceded by a line "Module k / N: title" outside the block (tagged ```` ```markdown ````), from the first `---` of the header to the last slide, so the teacher can copy it in one click.
2. If a code example must appear *inside* a slide, use tildes `~~~` for that inner block (so as not to break your answer block).
3. **After** the block, add at most 5 lines: number of slides, formats used, points for the teacher to check (images to provide, coordinates to adjust, debatable teaching choices).
4. Put no other text in the code block.

### Check before sending

- [ ] The header starts and ends with `---` and contains `title`, `lang` and `characters`.
- [ ] Each slide starts with `<!-- slide: format-… -->` using a format from § 4 (beta formats included).
- [ ] Slides are separated by a `---` line on its own, with no decorative `---`.
- [ ] Each slide has exactly one `###` heading.
- [ ] Each quiz has at least one `[x]` answer.
- [ ] Cards and timeline steps use `**Term** :: text`.
- [ ] All roles used are declared in `characters`, the guiding one first.
- [ ] The header contains a `jobs` list that fits the course.
- [ ] Branching menu: every `[…](#id)` in the menu has its `<!-- branch: id -->` slide, and an `<!-- id: end -->` slide concludes; the first name is written `{, name}`.
- [ ] No invented image; every image has alt text.
- [ ] Several modules: same `course` (exactly) and same `modules` everywhere; `module` numbered 1 to N with no gap; `next.title` = exact `title` of the next module; no `next` in the last one; `url` only if web delivery was requested.

---

## 8. Sentence for the teacher to use

> "Read the instructions at [address of this page] and format the following course for MicroLearn: …"
>
> For a multi-module course: "… and split it into 3 modules (web delivery): …"

*Source of truth for the syntax: MicroLearn Studio. This page describes version 1.0.*
