From f0a0d85e4a6b4325b27f37a8996924dcfd503c42 Mon Sep 17 00:00:00 2001 From: Grant Spence Date: Fri, 19 Jul 2024 17:11:53 -0400 Subject: [PATCH] Fix missing markdown table formatting Update the enum table in the `type.tpl` template to include missing table header, ensuring it renders correctly as a markdown table. --- templates/markdown/type.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/markdown/type.tpl b/templates/markdown/type.tpl index b84eb97..98c95d1 100644 --- a/templates/markdown/type.tpl +++ b/templates/markdown/type.tpl @@ -38,6 +38,7 @@ _Appears in:_ {{ if $type.EnumValues -}} | Field | Description | +| --- | --- | {{ range $type.EnumValues -}} | `{{ .Name }}` | {{ markdownRenderFieldDoc .Doc }} | {{ end -}}