cupper-hugo-theme/themes/inclusive-pattern-docs/layouts/shortcodes/codeBlock.html
2017-06-15 16:41:44 +08: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>