Skip to content
This repository was archived by the owner on Jul 29, 2021. It is now read-only.

Commit a64035a

Browse files
committed
wip
1 parent 7eb68b1 commit a64035a

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

examples/martini/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ For a full guide visit a href="http://github.com/codegangsta/martini">http://git
2525

2626

2727
## Constants
28-
29-
<pre>const (
28+
``` go
29+
const (
3030
Dev string = "development"
3131
Prod string = "production"
3232
Test string = "test"
33-
)</pre>
34-
Envs
35-
33+
)
34+
```
3635

36+
Envs
3737

3838

3939
## Variables

template.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ var pkgTemplate = `{{with .PDoc}}{{if $.IsMain}}
1212
{{example_html $ ""}}
1313
1414
{{with .Consts}}## Constants
15-
{{range .}}
16-
<pre>{{node $ .Decl}}</pre>
17-
{{comment_md .Doc}}
18-
{{end}}
19-
{{end}}
15+
{{range .}}{{node $ .Decl | pre }}
16+
{{comment_md .Doc}}{{end}}{{end}}
2017
{{with .Vars}}## Variables
2118
{{range .}}
2219
<pre>{{node $ .Decl}}</pre>

0 commit comments

Comments
 (0)