{%- comment -%} Outputs an HTML heading with id reference and permalink hover Parameters: - level: 1..6 the level of the heading - text: the visible text of the heading - slug: the reference for URLs, defaults to slug from text {%- endcomment -%} {%- capture slug_from_text -%}{{ include.text | slugify }}{%- endcapture -%} {{- include.text -}} {%- include paperclip.svg -%} {%- comment -%} removes a line break {%- endcomment -%}