{{- template "results" . -}} {{- define "results" }} {{- if gt .Results.Total 0 }}
{{- range .Results.Hits }} {{- with .Data }}
{{ .Option }}

{{ markdown .Description }}

{{- with .Type }}
Type
{{ . }}
{{- end }} {{- with .Default }} {{- if or .Text .Markdown }}
Default
{{- if .Markdown }} {{ markdown .Markdown }} {{- else }}
{{ .Text }}
{{- end }}
{{- end }} {{- end }} {{- with .Example }} {{- if or .Text .Markdown }}
Example
{{- if .Markdown }} {{ markdown .Markdown }} {{- else }}
{{ .Text }}
{{- end }}
{{- end }} {{- end }} {{- with .RelatedPackages }}
Related Packages
{{ . }}
{{- end }} {{- with .Declarations }}
Declared
{{- range . }}
{{ .Name }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- else }} Nothing found {{- end }} {{- end }}