Open Formatv1.11

Your eLearning content, in plain text.

LESSON.md is an open format for block-based eLearning content. Portable between tools. Readable by humans.

See an example
or convert an existing course

The lesson-md skill

The lesson-md skill teaches Claude, Codex, or another agent the LESSON.md format. Describe the course you need in plain language and get back lessons, assessments, and full course bundles.

Free and open source.

Built to travel between tools.

Instructional designers, academics, and subject matter experts pour time and expertise into learning content. It shouldn't be locked inside a single tool. LESSON.md is how it gets out into the open.

Tied to one tool

Whether you're using multiple tools or switching to a new one, your content ends up in formats that don't talk to each other.

Stuck reformatting

Course creators work across authoring tools, presentation software, and more. Every handoff means copy-pasting, reformatting, and losing structure.

Invisible to modern AI tools

Large language models can help you create and improve lessons, but only if they can read your content. Most authoring formats weren't designed for that.

See what a lesson looks like.

It's just a text file. Anyone can read it. Any tool can parse it.

fire-safety.lesson.md
1---
2title: Fire Safety Basics
3---
4
5::: text
6## What to do in a fire emergency
7
8Every second counts. Knowing what to do
9before a fire starts can save lives.
10:::
11
12::: image
13src: https://example.com/fire-safety.jpg
14alt: Fire evacuation route map
15caption: Know your building's evacuation routes
16:::
17
18::: button
19action: reveal
20width: 80
21:::
22
23::: knowledge-check
24type: multiple-choice
25question: What should you do first in a fire?
26instructions: Select the correct answer.
27maxAttempts: 3
28correct-feedback: Staying calm helps you make better decisions.
29
30- [ ] Run to the nearest exit
31- [x] Stay calm and assess the situation
32- [ ] Open the nearest window
33:::
34
35::: process
36orientation: vertical
37style: standard
38
39## Check the route
40Find the nearest safe exit.
41
42## Leave safely
43Follow the evacuation plan.
44:::
Lesson title
Title and settings at the top in simple YAML
Content blocks
Each block starts with ::: and a type
Interactivity
Quizzes and buttons, including reveal actions and custom widths, via simple properties

What it means for you.

Whether you're an instructional designer, teacher, course creator, or eLearning software vendor, LESSON.md was designed for both the people writing lessons and the tools that read them.

For Course Creators
  • Move lessons between any block-based tool that adopts the format
  • Read and edit your content in any text editor
  • Use AI to draft, review, and improve lessons
  • Never lose work to a vendor shutdown or format change
For eLearning Vendors
  • Import and export a format your users already understand
  • Build on Markdown: parsers exist in every language
  • Attract users who value portability and openness
  • Authoring tools, LMS platforms with built-in editors, and AI systems can all speak the same language

How it works.

A LESSON.md file goes from plain text to published lesson in three steps.

1

Write your lesson

Create a LESSON.md file in any text editor. Use Markdown for content and simple directives for interactive blocks.

2

Import it

Bring your file into any tool that supports the format. No copy-pasting, no reformatting.

3

Add media and publish

Drop in images, video, and other assets in your authoring tool. Your lesson structure is already in place.

Slate's Add Lesson dialog showing options to create a blank lesson, generate with AI, or import a LESSON.md file

Bundle multiple lessons into a course.

Zip a folder of LESSON.md files and any tool that supports the bundle layout will unpack them into a complete course. Numbered prefixes order sections and lessons. README.md is ignored. Drop a media/ folder at the root for bundled images and audio. An ASSESSMENT.md file at the root adds a scored quiz, and a COURSE.md file sets the course title, description, and other metadata.

Get the lesson-md skill.

The lesson-md skill teaches Claude, Codex, or another agent the LESSON.md format. Describe the course you need in plain language and get back files ready to import.

Ask in plain language

Ask for a lesson, a scored assessment, or a whole course. There is no template to fill in and no syntax to learn.

Ready to import

It writes the actual format, choosing block types deliberately. You get a .md file or a course .zip.

Checked before handover

The skill validates its own output against the format, so what reaches you is ready to import.

lesson-md skillv1.6.0

Free and open source. Install it in Claude, Codex, or another agent.

Easy to adopt. Impossible to outgrow.

LESSON.md came out of patterns we recognized while building Slate. The format starts at the lesson level: a single, self-contained unit of learning. It's open for anyone building an eLearning tool to use or extend.

See how Slate implements LESSON.md

Just Markdown

If your tool can read Markdown, you're most of the way there. No proprietary SDK or license required.

Make it yours

Map the shared LESSON.md blocks to your tool's own content types. Add extensions where needed, and tell users when content cannot be imported faithfully.

Extensible by design

Standard Markdown for content. A simple directive syntax for interactive blocks. The format grows with your tool, not against it.

Bring LESSON.md to your tool.

From vibe-coded projects to established platforms, give your AI coding agent a head start on LESSON.md imports for your authoring tool or LMS.

Read the prompt

Explore LESSON.md.

Try it in an authoring tool, or use it in your own product.

Support Slate

Slate eLearning is a Canadian startup building open tools for eLearning. When you subscribe to a paid plan, you help us unlock funding from Canadian AI innovation programs — so your support goes further than you might think.

Format changelogv1.11 latest
  1. v1.11
    • The new Training Note block (training-note) keeps reminders, decisions, and handoff context alongside your lessons for the training team.
    • Training notes stay out of web-based courses. Teams can optionally include them in exported facilitator guides and printouts.
  2. v1.10
    • The new Action property for button blocks adds Exit course and Reveal, letting learners exit a course or reveal a lesson one part at a time.
    • The new Width property for button blocks lets you choose a custom width or fit the button to its label.
  3. v1.9
    • Add step-by-step instructions with Process blocks or show milestones with Timeline blocks. Choose a vertical or horizontal layout and one of three visual styles for either block.
  4. v1.8
    • New: COURSE.md. An optional file placed at the course bundle root that sets course-level metadata: title, description, author, duration, course id, and language.
  5. v1.7
    • New knowledge-check property: instructions. An optional learner-facing line shown under the question, such as "Select the correct answer." It applies to all three question types and to ASSESSMENT.md questions.
  6. v1.6
    • New: ASSESSMENT.md. A LESSON.md file, renamed and placed at the course bundle root, becomes the course's scored assessment. It adds attempts, pass, and randomize frontmatter and is limited to text, image, and knowledge-check blocks.
  7. v1.5
    • New knowledge-check question behaviour controls: Maximum attempts, Reveal correct answer when locked, Show answer-level feedback, Show general feedback, and Eliminate wrong options (multiple-choice only). Each setting inherits the course default when omitted.
  8. v1.4
    • New layout presets: masonry-2 and masonry-3 for variable-height column flow.
  9. v1.3
    • New block: flip-card-carousel. A carousel of flip cards where each card flips independently.
  10. v1.2
    • New block: labeled-graphic. Images with up to 10 clickable hotspots.
    • Removed the code block from the spec.
  11. v1.1
    • New block: note. Highlighted information boxes.
  12. v1.0
    • Initial public release of the format.

Contributors

Subscribe to LESSON.md updates

Get occasional emails about spec releases, new tools and projects that support LESSON.md, and community news. Unsubscribe anytime.

Loading signup form…