To create your own lesson, first follow the steps above in the contributing code section to create a clone of this repository. Then, create a markdown (.md or .mdx) file with an appropriate name in the
lessons folder An mdx file is recommended as it allows you to use textbook elements.
In the heading of the markdown file, add the code
---
title: 'EXAMPLE TITLE'
slug: /lesson/EXAMPLE_LINK
---
where the slug is an appropriate link to your lesson. Example
.md and
.mdx files are provided, and their results are shown
here and
here, respectively. After that, please update the
lessonList.yml file and add your lesson in the appropriate order. Use the format
- title: 'EXAMPLE TITLE'
description: 'Example description.'
extraLessson: true
where the title name matches exactly with the one found in your markdown file. Additionally, provide a short 1-2 sentence summary of your lesson with the description argument. After that, submit a pull request mentioning what you added in your lesson and tag your pull request with the "new lesson" tag.