Skip to content

Commit

Permalink
Fix missing markdown table formatting
Browse files Browse the repository at this point in the history
Update the enum table in the `type.tpl` template to include missing
table header, ensuring it renders correctly as a markdown table.
  • Loading branch information
gcs278 committed Jul 19, 2024
1 parent ea9fcaa commit bfdd4a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/markdown/type.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ _Appears in:_

{{ if $type.EnumValues -}}
| Field | Description |
| --- | --- |
{{ range $type.EnumValues -}}
| `{{ .Name }}` | {{ markdownRenderFieldDoc .Doc }} |
{{ end -}}
Expand Down

0 comments on commit bfdd4a6

Please sign in to comment.