We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent febf704 commit 6f65f6fCopy full SHA for 6f65f6f
2 files changed
assets/theme-css/styles.css
@@ -20,6 +20,7 @@ table th {
20
background-color: var(--pst-color-surface);
21
border: 1px solid var(--pst-color-border);
22
border-radius: 0.25rem;
23
+ font-size: 0.875em;
24
}
25
26
a > code {
layouts/_default/_markup/render-codeblock.html
@@ -0,0 +1,14 @@
1
+{{ if transform.CanHighlight .Type }}
2
+{{/* Supported Chroma Language*/}}
3
+<div class="highlight">
4
+ <pre class="chroma"><code>
5
+ {{- with transform.HighlightCodeBlock . -}}
6
+ {{ .Inner | safeHTML }}
7
+ {{- end -}}</code></pre>
8
+</div>
9
+{{- else -}}
10
+{{/* Unsupported Language */}}
11
12
+ <pre>{{ .Inner }}</pre>
13
14
+{{ end }}
0 commit comments