main

mattermost/focalboard

Last updated at: 29/12/2023 09:41

hanchor.html

TLDR

This file contains an HTML template that adds anchor links next to each heading tag (<h1> to <h9>) with a corresponding ID attribute. The anchor links allow users to easily navigate to specific sections of the page.

Methods

No methods are applicable in this file.

Classes

No classes are applicable in this file.

{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}&nbsp;<a class="hanchor fa fa-link" ariaLabel="Anchor" href="#${2}"></i></a> ${3}` | safeHTML }}