From 539c39d69a150d0024cde275b9c91b5365fa4ee1 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Wed, 27 Mar 2024 16:08:19 +0100 Subject: [PATCH] feat: add anchor link to markdown heading (#992) closes https://github.com/CaiJimmy/hugo-theme-stack/issues/935 --- layouts/_default/_markup/render-heading.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 layouts/_default/_markup/render-heading.html diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..aa12d7d --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,4 @@ + + # + {{ .Text | safeHTML }} + \ No newline at end of file