aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-codeblock.html
blob: 6e1a075c679562512f1003e7dac43c39749a2be5 (plain)
1
2
3
4
5
6
<!-- 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 }}