trwnh.com/unified.test.hugo/layouts/_default/_markup/render-codeblock.html
2024-10-12 13:45:14 -05:00

5 lines
No EOL
186 B
HTML

{{ $opts := merge .Options (dict "hl_inline" true) }}
{{ $result := transform.HighlightCodeBlock . }}
<div class="codeblock highlight">
<pre class="chroma">{{$result.Inner}}</pre>
</div>