github.com/anthonyme00/gomarkdoc@v1.0.0/templates/example.gotxt (about) 1 {{- accordionHeader .Title -}} 2 {{- spacer -}} 3 4 {{- template "doc" .Doc -}} 5 {{- spacer -}} 6 7 {{- codeBlock "go" .Code -}} 8 {{- spacer -}} 9 10 {{- if .HasOutput -}} 11 12 {{- header 4 "Output" -}} 13 {{- spacer -}} 14 15 {{- codeBlock "" .Output -}} 16 {{- spacer -}} 17 18 {{- end -}} 19 20 {{- accordionTerminator -}} 21