mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
14 lines
426 B
HTML
14 lines
426 B
HTML
<div class="code-block">
|
|
<div class="code-header">
|
|
<span class="code-type">{{ .Type }}</span>
|
|
<a class="code-copy-button">
|
|
{{ i18n "copy_to_clipboard" }}
|
|
</a>
|
|
</div>
|
|
{{/* a div.highlight is already created by highlight function */}}
|
|
{{ highlight .Inner .Type }}
|
|
|
|
{{/* for copy to clipboard */}}
|
|
<pre class="code-raw" style="display: none;">{{ .Inner }}</pre>
|
|
</div>
|