diff --git a/internal/provider/template.go b/internal/provider/template.go index 96006e31..6733541b 100644 --- a/internal/provider/template.go +++ b/internal/provider/template.go @@ -229,7 +229,7 @@ description: |- {{ if .HasExample -}} ## Example Usage -{{ printf "{{tffile %q}}" .ExampleFile }} +{{ tffile .ExampleFile }} {{- end }} {{ .SchemaMarkdown | trimspace }} @@ -239,7 +239,7 @@ description: |- Import is supported using the following syntax: -{{ printf "{{codefile \"shell\" %q}}" .ImportFile }} +{{ codefile "shell %q" .ImportFile }} {{- end }} ` @@ -258,7 +258,7 @@ description: |- {{ if .HasExample -}} ## Example Usage -{{ printf "{{tffile %q}}" .ExampleFile }} +{{ tffile .ExampleFile }} {{- end }} {{ .SchemaMarkdown | trimspace }}