diff --git a/templates/data-sources.md.tmpl b/templates/data-sources.md.tmpl index ab12f75..0f045f3 100644 --- a/templates/data-sources.md.tmpl +++ b/templates/data-sources.md.tmpl @@ -11,7 +11,7 @@ description: |- {{ if .HasExample -}} ## Example Usage -{{ printf "{{tffile %q}}" .ExampleFile }} +{{ tffile .ExampleFile }} {{- end }} {{ .SchemaMarkdown | trimspace }} diff --git a/templates/resources.md.tmpl b/templates/resources.md.tmpl index ab12f75..0f045f3 100644 --- a/templates/resources.md.tmpl +++ b/templates/resources.md.tmpl @@ -11,7 +11,7 @@ description: |- {{ if .HasExample -}} ## Example Usage -{{ printf "{{tffile %q}}" .ExampleFile }} +{{ tffile .ExampleFile }} {{- end }} {{ .SchemaMarkdown | trimspace }}