mirror of
https://github.com/imfing/hextra.git
synced 2025-06-30 23:47:14 -04:00
fix copy-button not being rendered in details blocks
This commit is contained in:
@ -25,5 +25,5 @@
|
|||||||
{{- if transform.CanHighlight $lang -}}
|
{{- if transform.CanHighlight $lang -}}
|
||||||
<div>{{- highlight $content $lang $options -}}</div>
|
<div>{{- highlight $content $lang $options -}}</div>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<pre><code>{{ $content }}</code></pre>
|
<div><pre><code>{{ $content }}</code></pre></div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Reference in New Issue
Block a user