diff --git a/internal/provider/template.go b/internal/provider/template.go index dcc1e541..870b1363 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 }}