{{ vpdoc.title }}
{{ ui_v1.badge(vpdoc.version, 'neutral') }}-
{% for chapter in chapters %}
-
{% if chapter.content %}{{ ui_v1.badge(loop.index, 'neutral') }} {{ chapter.title }} {% if chapter.hidden %}{{ ui_v1.badge(_('已隐藏'), 'warning') }}{% endif %}
{{ _('预览') }} {% if canManage %} {{ _('编辑章') }} {{ _('创建节') }} {% endif %} {% if canCopy %}{{ _('复制本章') }}{% endif %}{{ chapter.content|markdown|safe }}{% endif %} {% if chapter.lecturePids and chapter.lecturePids.length %}{{ _('讲义') }}: {% for pid in chapter.lecturePids %} P{{ pid }}{% if problemHealth.issueByPid[pid] %} · {{ _('已失效') }}{% endif %} {% endfor %}{% endif %}
{% endfor %}