From a0372acc20bd8e30026c8a1b59ddaa991d570bb9 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 000000000..aa12d7da8 --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,4 @@ + + # + {{ .Text | safeHTML }} + \ No newline at end of file