diff options
| author | Ariel Costas <94913521+arielcostas@users.noreply.github.com> | 2023-11-23 23:24:28 +0100 |
|---|---|---|
| committer | Ariel Costas <94913521+arielcostas@users.noreply.github.com> | 2023-11-23 23:24:28 +0100 |
| commit | dca685c79b587d17e13c5da51ef67aa2e71b891c (patch) | |
| tree | e826ad032cce0bebeeeb20859600de8e2e213cad /layouts/_default/_markup | |
Super basic start
Diffstat (limited to 'layouts/_default/_markup')
| -rw-r--r-- | layouts/_default/_markup/render-heading.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..6023eb1 --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,4 @@ +<h{{ .Level }} id="{{ .Anchor | safeURL }}"> + <a class="anchor" href="#{{ .Anchor | safeURL }}">#</a> + {{ .Text | safeHTML }} +</h{{ .Level }}> |
