Implement
LESSON.md
Add LESSON.md import or export to your authoring tool, LMS, or conversion workflow.
Start with one lesson
- Map the blocks. Read a lesson’s frontmatter and map its blocks and properties to your content model.
- Try a complete bundle. Check lesson ordering, the assessment, and how your tool resolves local media.
- Report what carries over. State the format version and supported blocks. Tell authors when content is changed or skipped.
Integration prompt
Give your coding agent the format references and a checklist for implementing and testing an importer.
Implementation FAQ
What if my builder supports only some properties?
Map the properties your builder supports and omit the rest from the imported result. For example, keep a button’s label and URL even if your builder can’t apply its custom width. Report omissions that change how a lesson looks or behaves, ideally in the import summary.
What if I can’t map a whole block?
Use a fallback if it preserves the meaning. For example, show accordion content as headings and paragraphs, and tell the author that the interaction was removed. Skip the block and report it if there’s no suitable fallback. Keep Training Notes in authoring-only storage, or skip them with a warning if your tool can’t keep them out of learner content.
Do I need to build import and export together?
Start with the workflow your users need. For import, try a single lesson first, then add course bundles, assessments, and local media as your tool can support them. Document which format version and features work in each direction you offer.