cupper-hugo-theme/themes/infusion/layouts/shortcodes/codeBlock.html
2017-06-28 10:34:21 +01:00

2 lines
222 B
HTML

<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>