From 9317874ab59f7bbbb517ea6b38799752bb44b14c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 5 May 2024 18:54:32 +0200 Subject: style: improve layout and formatting of code samples --- frontend/templates/blocks/options.gotmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'frontend/templates/blocks/options.gotmpl') diff --git a/frontend/templates/blocks/options.gotmpl b/frontend/templates/blocks/options.gotmpl index 1172e52..7c98450 100644 --- a/frontend/templates/blocks/options.gotmpl +++ b/frontend/templates/blocks/options.gotmpl @@ -10,16 +10,20 @@
{{- with .Type }}
Type
-
{{ . }}
+
{{ . }}
{{- end }} {{- with .Default }}
Default
-
{{ .Text }}
+
+
{{ .Text }}
+
{{- end }} {{- with .Example }} {{- if .Text }}
Example
-
{{ .Text }}
+
+
{{ .Text }}
+
{{- end }} {{- end }} {{- with .RelatedPackages.HTML }} -- cgit 1.4.1