rAttributes %}{{ anchorAttributes }} class="{{ include.anchor_class | split: '.' | join: ' ' }}"{% endcapture %}
            {% endif %}

            {% capture listItem %}<a{{ anchorAttributes }}>{{ anchorBody }}</a>{% endcapture %}
        {% elsif skipNoIDs == true %}
            {% continue %}
        {% else %}
            {% capture listItem %}{{ anchorBody }}{% endcapture %}
        {% endif %}

        {% if currLevel > lastLevel %}
            {% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifie