Merge pull request #607 from maxbischoff/fix-codeblock-copy-button-in-details

fix: copy-button not being rendered in details blocks
This commit is contained in:
Xin
2025-03-10 23:05:43 +00:00
committed by GitHub

View File

@ -25,5 +25,5 @@
{{- if transform.CanHighlight $lang -}}
<div>{{- highlight $content $lang $options -}}</div>
{{- else -}}
<pre><code>{{ $content }}</code></pre>
<div><pre><code>{{ $content }}</code></pre></div>
{{- end -}}