Lesson

To create a lesson, open the doctype Course Lesson.

  1. Link the chapter to which this lesson belongs.
  2. Give the lesson a title.
  3. If you want this lesson to be visible to users without enrolling for the course, to give them a preview, enable the option Include In Preview.
  4. In the body field, add the content of the lesson. The body field accepts markdown syntax.
  5. You can add some more additional content to the lesson using a special syntax. The table below mentions all types of dynamic content that you can add to the lessons and the syntax for the same.

Course Lesson

Content Type Syntax
Video {{ Video("urlofsource") }}
YouTube Video {{ YouTubeVideo("uniqueembedid") }}
Quiz {{ Quiz("lmsquizname") }}
Assignment {{ Assignment("id-filetype") }}

For adding assingments following syntax can be used for various file types.

File Type Syntax
.doc,.docx,.xml,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document Document
.pdf PDF
.png, .jpg, .jpeg Image