diff options
Diffstat (limited to 'frontend/templates')
-rw-r--r-- | frontend/templates/blocks/options.gotmpl | 10 |
1 files changed, 7 insertions, 3 deletions
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 @@ <dl> {{- with .Type }} <dt>Type</dt> - <dd>{{ . }}</dd> + <dd><code>{{ . }}</code></dd> {{- end }} {{- with .Default }} <dt>Default</dt> - <dd><code>{{ .Text }}</code></dd> + <dd> + <pre><code>{{ .Text }}</code></pre> + </dd> {{- end }} {{- with .Example }} {{- if .Text }} <dt>Example</dt> - <dd><code>{{ .Text }}</code></dd> + <dd> + <pre><code>{{ .Text }}</code></pre> + </dd> {{- end }} {{- end }} {{- with .RelatedPackages.HTML }} |