mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 12:07:03 -04:00
theme: Adjust spacing in highlighting theme examples
This commit is contained in:
parent
2fcd21ee5c
commit
245351c846
@ -54,14 +54,14 @@ string = 'foo'
|
|||||||
{{- with site.Data.docs.chroma.styles }}
|
{{- with site.Data.docs.chroma.styles }}
|
||||||
{{- range $style := . }}
|
{{- range $style := . }}
|
||||||
|
|
||||||
### {{ $style }} {class="!mt-7 !mb-1"}{{/* Do not indent. */}}
|
### {{ $style }} {class="!mt-7 !mb-6"}{{/* Do not indent. */}}
|
||||||
|
|
||||||
{{- range $examples }}
|
{{- range $examples }}
|
||||||
|
|
||||||
{{ .lang }}{{/* Do not indent. */}}
|
{{ .lang }}{{/* Do not indent. */}}
|
||||||
{class="text-sm !mt-5 !mb-1"}{{/* Do not indent. */}}
|
{class="text-sm !-mt-3 !-mb-5"}{{/* Do not indent. */}}
|
||||||
|
|
||||||
```{{ .lang }} {class="!my-0" noClasses=true style="{{ $style }}"}{{/* Do not indent. */}}
|
```{{ .lang }} {noClasses=true style="{{ $style }}"}{{/* Do not indent. */}}
|
||||||
{{- .code | safeHTML -}}{{/* Do not indent. */}}
|
{{- .code | safeHTML -}}{{/* Do not indent. */}}
|
||||||
```{{/* Do not indent. */}}
|
```{{/* Do not indent. */}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user