qwik-site/content/components/toc.njk

6 lines
218 B
Plaintext
Raw Normal View History

2021-08-09 17:44:53 +02:00
{% macro header(size, text) %}
<a name="{{ text | replace(" ", "-") }}" data-orig-text="{{ text }}" class="toc-anchor toc-anchor-{{ size }}"></a>
<{{ size }}>
{{ text }}
</{{ size }}>
{% endmacro %}