cupper-hugo-theme/themes/infusion/layouts/shortcodes/codeBlock.html

2 lines
222 B
HTML
Raw Normal View History

2017-06-09 15:27:09 +02:00
<pre class="{{ with .Get "lang" }}language-{{ . }}{{ end }} {{ with .Get "numbered" }}line-numbers{{ end }}"><code {{ with .Get "lang" }}class="language-{{ . }}"{{ end }} data-codeblock-shortcode>{{ .Inner }}</code></pre>