Files
Funnyduck/layouts/_default/_markup/render-codeblock.html
Friendlyduck 8b97c65b47 Initial commit
2025-12-12 15:45:49 +03:00

6 lines
311 B
HTML

<!-- https://github.com/jmooring/hugo-testing/blob/hugo-forum-topic-40998/layouts/_default/_markup/render-codeblock-katex.html -->
{{ .Page.Store.Set "hasCodeBlock" true }}
<!-- https://www.veriphor.com/articles/code-block-render-hooks/ -->
{{ $result := transform.HighlightCodeBlock . }}
{{ $result.Wrapped }}