{% if section.diagram_svg_path %}
  {% if section.cover != false %}
    {% capture slideIndex %}{{ slideIndex | plus: 1 }}{% endcapture %}
  {% endif %}
  <svg version="1.1"
    width="100%"
    height="100%"
    data-path="{{ section.diagram_svg_path }}"
    id="canvas-{{ chapterIndex }}-{{ slideIndex }}"
    preserveAspectRatio="xMidyMid"
    viewBox="0 0 100 100"></svg>
{% endif %}
