mirror of
https://github.com/docker/docs.git
synced 2026-11-21 14:06:38 +03:00
8 lines
294 B
HTML
8 lines
294 B
HTML
{{ $id := .id | default (anchorize (plainify .text)) }}
|
|
<a class="relative -top-16" name="{{ $id }}"></a>
|
|
<h{{ .level }} {{ with .class }} class="{{ . }}" {{ end }}>
|
|
<a class="text-black dark:text-white no-underline hover:underline" href="#{{ $id }}">
|
|
{{ .text }}
|
|
</a>
|
|
</h{{ .level }}>
|