{% extends "templates/base.html" %} {% from "www/macros/livecode.html" import LiveCodeEditorJS, LiveCodeEditor with context %} {% block title %} {% if lesson.title %} {{ lesson.title }} - {{ course.title }} {% else %} {{ _("New Lesson") }} {% endif %} {% endblock %} {% block head_include %} {% include "public/icons/symbol-defs.svg" %} {% for ext in page_extensions %} {{ ext.render_header() }} {% endfor %} {% endblock %} {% block content %}
{{ _("You can add 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.") }}
| {{ _("Content Type") }} | {{ _("Syntax") }} | {{ _("Description") }} |
|---|---|---|
| {{ _("YouTube Video") }} | {% raw %} {{ YouTubeVideo("embed_src") }} {% endraw %} |
{{ _("Copy and paste the syntax in the editor. Replace 'embed_src' with the embed source
that YouTube provides. To get the source, follow the steps mentioned below.") }}
|
| {{ _("Quiz") }} | {% raw %} {{ Quiz("lms_quiz_id") }} {% endraw %} | {% set quiz_link = " Quiz List " %} {{ _("Copy and paste the syntax in the editor. Replace 'lms_quiz_id' with the ID of the Quiz. You can get the ID of the quiz from the {0}.").format(quiz_link) }} |