{{ log.debug("Rendering examples section") }}

{{ section.title or "Examples:" }}

{% for section_type, sub_section in section.value %} {% if section_type.value == "text" %} {{ sub_section|convert_markdown(heading_level, html_id) }} {% elif section_type.value == "examples" %} {{ sub_section|highlight(language="python", linenums=False) }} {% endif %} {% endfor %}